Files
kernel/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
Jaewon Kim 74641f4a79 arm64: dts: exynos: add pwm node for exynosautov9-sadk
Add pwm node to support fan on exynosautov9-sadk board.
PWM channel 3 of ExynosAutov9 is connected to fan for SoC cooling
in SADK board.

Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
Link: https://lore.kernel.org/r/20230718062200.79306-3-jaewon02.kim@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2023-07-19 09:31:27 +02:00

89 lines
1.5 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0
/*
* Samsung ExynosAutov9 SADK board device tree source
*
* Copyright (c) 2021 Samsung Electronics Co., Ltd.
*
*/
/dts-v1/;
#include "exynosautov9.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ {
model = "Samsung ExynosAuto v9 SADK board";
compatible = "samsung,exynosautov9-sadk", "samsung,exynosautov9";
#address-cells = <2>;
#size-cells = <2>;
aliases {
serial0 = &serial_0;
};
chosen {
stdout-path = &serial_0;
};
memory@80000000 {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0x77000000>,
<0x8 0x80000000 0x1 0x7ba00000>,
<0xa 0x00000000 0x2 0x00000000>;
};
ufs_0_fixed_vcc_reg: regulator-0 {
compatible = "regulator-fixed";
regulator-name = "ufs-vcc";
gpio = <&gpq0 1 GPIO_ACTIVE_HIGH>;
regulator-boot-on;
enable-active-high;
};
ufs_1_fixed_vcc_reg: regulator-1 {
compatible = "regulator-fixed";
regulator-name = "ufs-vcc";
gpio = <&gpg2 2 GPIO_ACTIVE_HIGH>;
regulator-boot-on;
enable-active-high;
};
};
&pwm {
pinctrl-names = "default";
pinctrl-0 = <&pwm_tout3>;
status = "okay";
};
&serial_0 {
pinctrl-0 = <&uart0_bus_dual>;
status = "okay";
};
&ufs_0_phy {
status = "okay";
};
&ufs_1_phy {
status = "okay";
};
&ufs_0 {
status = "okay";
vcc-supply = <&ufs_0_fixed_vcc_reg>;
};
&ufs_1 {
status = "okay";
vcc-supply = <&ufs_1_fixed_vcc_reg>;
};
&usi_0 {
samsung,clkreq-on; /* needed for UART mode */
status = "okay";
};
&xtcxo {
clock-frequency = <26000000>;
};