Add I2C and PWM support for T234
Subsystems (5)
v2 cover Add I2C and PWM support for T234
The patchset contains driver and devicetree changes to support I2C and PWM for Tegra234
v2->v1:
* Reverted changes in i2c-tegra.c. using tegra194_i2c_hw for tegra234 as the values are compatible.
Akhil R (4):
dt-bindings: Add headers for Tegra234 I2C
arm64: tegra: Add Tegra234 I2C devicetree nodes
dt-bindings: Add headers for Tegra234 PWM
arm64: tegra: Add Tegra234 PWM devicetree nodes
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 133 +++++++++++++++++++++++++++++ include/dt-bindings/clock/tegra234-clock.h | 36 ++++++++ include/dt-bindings/reset/tegra234-reset.h | 16 ++++ 3 files changed, 185 insertions(+)
Signature · 1 line
2.7.4
PATCH v2 1/4 dt-bindings: Add headers for Tegra234 I2C
Add dt-bindings header files for I2C controllers for Tegra234
--- include/dt-bindings/clock/tegra234-clock.h | 19 +++++++++++++++++++ include/dt-bindings/reset/tegra234-reset.h | 8 ++++++++ 2 files changed, 27 insertions(+)
include/dt-bindings/clock/tegra234-clock.h +19 -0
@@ -30,5 +30,24 @@#define TEGRA234_CLK_PLLC4 237U/** @brief 32K input clock provided by PMIC */ #define TEGRA234_CLK_CLK_32K 289U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C1 */ +#define TEGRA234_CLK_I2C1 48U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C2 */ +#define TEGRA234_CLK_I2C2 49U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C3 */ +#define TEGRA234_CLK_I2C3 50U +/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C4 */ +#define TEGRA234_CLK_I2C4 51U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C6 */ +#define TEGRA234_CLK_I2C6 52U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C7 */ +#define TEGRA234_CLK_I2C7 53U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C8 */ +#define TEGRA234_CLK_I2C8 54U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C9 */ +#define TEGRA234_CLK_I2C9 55U + +/** @brief PLLP clk output */ +#define TEGRA234_CLK_PLLP_OUT0 102U#endif
include/dt-bindings/reset/tegra234-reset.h +8 -0
@@ -12,6 +12,14 @@*/ #define TEGRA234_RESET_SDMMC4 85U#define TEGRA234_RESET_UARTA 100U +#define TEGRA234_RESET_I2C1 24U +#define TEGRA234_RESET_I2C2 29U +#define TEGRA234_RESET_I2C3 30U +#define TEGRA234_RESET_I2C4 31U +#define TEGRA234_RESET_I2C6 32U +#define TEGRA234_RESET_I2C7 33U +#define TEGRA234_RESET_I2C8 34U +#define TEGRA234_RESET_I2C9 35U/** @} */
Signature · 1 line
2.7.4
Re: [PATCH v2 1/4] dt-bindings: Add headers for Tegra234 I2C
22.01.2022 14:23, Akhil R пишет:
Quoted 43 lines
Add dt-bindings header files for I2C controllers for Tegra234
Signed-off-by Akhil R <[email protected]>--- include/dt-bindings/clock/tegra234-clock.h | 19 +++++++++++++++++++ include/dt-bindings/reset/tegra234-reset.h | 8 ++++++++ 2 files changed, 27 insertions(+)include/dt-bindings/clock/tegra234-clock.h +19
-0@@ -30,5 +30,24 @@#define TEGRA234_CLK_PLLC4 237U/** @brief 32K input clock provided by PMIC */ #define TEGRA234_CLK_CLK_32K 289U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C1 */ +#define TEGRA234_CLK_I2C1 48U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C2 */ +#define TEGRA234_CLK_I2C2 49U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C3 */ +#define TEGRA234_CLK_I2C3 50U +/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C4 */ +#define TEGRA234_CLK_I2C4 51U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C6 */ +#define TEGRA234_CLK_I2C6 52U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C7 */ +#define TEGRA234_CLK_I2C7 53U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C8 */ +#define TEGRA234_CLK_I2C8 54U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C9 */ +#define TEGRA234_CLK_I2C9 55U + +/** @brief PLLP clk output */ +#define TEGRA234_CLK_PLLP_OUT0 102U#endif include/dt-bindings/reset/tegra234-reset.h +0
-0@@ -12,6 +12,14 @@*/
include/dt-bindings/reset/tegra234-reset.h line 22
Quoted 10 lines
include/dt-bindings/reset/tegra234-reset.h +8
-0#define TEGRA234_RESET_SDMMC4 85U#define TEGRA234_RESET_UARTA 100U +#define TEGRA234_RESET_I2C1 24U +#define TEGRA234_RESET_I2C2 29U +#define TEGRA234_RESET_I2C3 30U +#define TEGRA234_RESET_I2C4 31U +#define TEGRA234_RESET_I2C6 32U +#define TEGRA234_RESET_I2C7 33U +#define TEGRA234_RESET_I2C8 34U +#define TEGRA234_RESET_I2C9 35U
Why ID order isn't maintained?
RE: [PATCH v2 1/4] dt-bindings: Add headers for Tegra234 I2C
Quoted 57 lines
Quoted 14 lines
Add dt-bindings header files for I2C controllers for Tegra234
Signed-off-by Akhil R <[email protected]>--- include/dt-bindings/clock/tegra234-clock.h | 19 +++++++++++++++++++ include/dt-bindings/reset/tegra234-reset.h | 8 ++++++++ 2 files changed, 27 insertions(+)include/dt-bindings/clock/tegra234-clock.h +0
-0include/dt-bindings/clock/tegra234-clock.h line 33
Quoted 4 lines
include/dt-bindings/clock/tegra234-clock.h +1
-0@@ -30,5 +30,24 @@#define TEGRA234_CLK_PLLC4 237U/** @brief 32K input clock provided by PMIC */ #define TEGRA234_CLK_CLK_32K 289U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C1*/include/dt-bindings/clock/tegra234-clock.h line 35
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C1 48U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C2*/include/dt-bindings/clock/tegra234-clock.h line 37
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C2 49U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C3*/include/dt-bindings/clock/tegra234-clock.h line 39
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C3 50U +/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C4 */
include/dt-bindings/clock/tegra234-clock.h line 41
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C4 51U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C6*/include/dt-bindings/clock/tegra234-clock.h line 43
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C6 52U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C7*/include/dt-bindings/clock/tegra234-clock.h line 45
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C7 53U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C8*/include/dt-bindings/clock/tegra234-clock.h line 47
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C8 54U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C9*/Quoted 17 lines
include/dt-bindings/clock/tegra234-clock.h +4
-0+#define TEGRA234_CLK_I2C9 55U + +/** @brief PLLP clk output */ +#define TEGRA234_CLK_PLLP_OUT0 102U#endif include/dt-bindings/reset/tegra234-reset.h +2
-0@@ -12,6 +12,14 @@*/ #define TEGRA234_RESET_SDMMC4 85U#define TEGRA234_RESET_UARTA 100U +#define TEGRA234_RESET_I2C1 24U +#define TEGRA234_RESET_I2C2 29U
Quoted 8 lines
include/dt-bindings/reset/tegra234-reset.h line 22
Quoted 6 lines
include/dt-bindings/reset/tegra234-reset.h +6
-0+#define TEGRA234_RESET_I2C3 30U +#define TEGRA234_RESET_I2C4 31U +#define TEGRA234_RESET_I2C6 32U +#define TEGRA234_RESET_I2C7 33U +#define TEGRA234_RESET_I2C8 34U +#define TEGRA234_RESET_I2C9 35UWhy ID order isn't maintained?
Do you mean RESET_UART4, SDMMC4 etc should be
below RESET_I2C*?
Regards,
Akhil
--
nvpublic
Re: [PATCH v2 1/4] dt-bindings: Add headers for Tegra234 I2C
23.01.2022 19:56, Akhil R пишет:
Quoted 65 lines
Quoted 57 lines
Quoted 14 lines
Add dt-bindings header files for I2C controllers for Tegra234
Signed-off-by Akhil R <[email protected]>--- include/dt-bindings/clock/tegra234-clock.h | 19 +++++++++++++++++++ include/dt-bindings/reset/tegra234-reset.h | 8 ++++++++ 2 files changed, 27 insertions(+)include/dt-bindings/clock/tegra234-clock.h +0
-0include/dt-bindings/clock/tegra234-clock.h line 33
Quoted 4 lines
include/dt-bindings/clock/tegra234-clock.h +1
-0@@ -30,5 +30,24 @@#define TEGRA234_CLK_PLLC4 237U/** @brief 32K input clock provided by PMIC */ #define TEGRA234_CLK_CLK_32K 289U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C1*/include/dt-bindings/clock/tegra234-clock.h line 35
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C1 48U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C2*/include/dt-bindings/clock/tegra234-clock.h line 37
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C2 49U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C3*/include/dt-bindings/clock/tegra234-clock.h line 39
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C3 50U +/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C4 */
include/dt-bindings/clock/tegra234-clock.h line 41
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C4 51U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C6*/include/dt-bindings/clock/tegra234-clock.h line 43
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C6 52U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C7*/include/dt-bindings/clock/tegra234-clock.h line 45
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C7 53U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C8*/include/dt-bindings/clock/tegra234-clock.h line 47
Quoted 2 lines
include/dt-bindings/clock/tegra234-clock.h +2
-0+#define TEGRA234_CLK_I2C8 54U +/** @brief output of mux controlled by
CLK_RST_CONTROLLER_CLK_SOURCE_I2C9*/Quoted 17 lines
include/dt-bindings/clock/tegra234-clock.h +4
-0+#define TEGRA234_CLK_I2C9 55U + +/** @brief PLLP clk output */ +#define TEGRA234_CLK_PLLP_OUT0 102U#endif include/dt-bindings/reset/tegra234-reset.h +2
-0@@ -12,6 +12,14 @@*/ #define TEGRA234_RESET_SDMMC4 85U#define TEGRA234_RESET_UARTA 100U +#define TEGRA234_RESET_I2C1 24U +#define TEGRA234_RESET_I2C2 29UQuoted 8 lines
include/dt-bindings/reset/tegra234-reset.h line 22
Quoted 6 lines
include/dt-bindings/reset/tegra234-reset.h +6
-0+#define TEGRA234_RESET_I2C3 30U +#define TEGRA234_RESET_I2C4 31U +#define TEGRA234_RESET_I2C6 32U +#define TEGRA234_RESET_I2C7 33U +#define TEGRA234_RESET_I2C8 34U +#define TEGRA234_RESET_I2C9 35UWhy ID order isn't maintained?
Quoted 2 lines
Do you mean
RESET_UART4, SDMMC4 etc should be
below RESET_I2C*?
Yes, please see T186/194 headers for the example and do the same for T234. Always try to use existing examples in general to maintain consistency.
PATCH v2 2/4 arm64: tegra: Add Tegra234 I2C devicetree nodes
In reply to Akhil RAdd device tree nodes for Tegra234 I2C controllers
--- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 121 +++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+)
arch/arm64/boot/dts/nvidia/tegra234.dtsi +121 -0
@@ -144,6 +144,96 @@ status = "disabled"; }; + gen1_i2c: i2c@3160000 { + compatible = "nvidia,tegra194-i2c"; + reg = <0x3160000 0x100>; + status = "disabled"; + interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <400000>; + clocks = <&bpmp TEGRA234_CLK_I2C1 + &bpmp TEGRA234_CLK_PLLP_OUT0>; + assigned-clocks = <&bpmp TEGRA234_CLK_I2C1>; + assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>; + clock-names = "div-clk", "parent"; + resets = <&bpmp TEGRA234_RESET_I2C1>; + reset-names = "i2c"; + }; + + cam_i2c: i2c@3180000 { + compatible = "nvidia,tegra194-i2c"; + reg = <0x3180000 0x100>; + interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + clock-frequency = <400000>; + clocks = <&bpmp TEGRA234_CLK_I2C3 + &bpmp TEGRA234_CLK_PLLP_OUT0>; + assigned-clocks = <&bpmp TEGRA234_CLK_I2C3>; + assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>; + clock-names = "div-clk", "parent"; + resets = <&bpmp TEGRA234_RESET_I2C3>; + reset-names = "i2c"; + }; + + dp_aux_ch1_i2c: i2c@3190000 { + compatible = "nvidia,tegra194-i2c"; + reg = <0x3190000 0x100>; + interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + clock-frequency = <100000>; + clocks = <&bpmp TEGRA234_CLK_I2C4 + &bpmp TEGRA234_CLK_PLLP_OUT0>; + assigned-clocks = <&bpmp TEGRA234_CLK_I2C4>; + assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>; + clock-names = "div-clk", "parent"; + resets = <&bpmp TEGRA234_RESET_I2C4>; + reset-names = "i2c"; + }; + + dp_aux_ch0_i2c: i2c@31b0000 { + compatible = "nvidia,tegra194-i2c"; + reg = <0x31b0000 0x100>; + interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + clock-frequency = <100000>; + clocks = <&bpmp TEGRA234_CLK_I2C6 + &bpmp TEGRA234_CLK_PLLP_OUT0>; + assigned-clocks = <&bpmp TEGRA234_CLK_I2C6>; + assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>; + clock-names = "div-clk", "parent"; + resets = <&bpmp TEGRA234_RESET_I2C6>; + reset-names = "i2c"; + }; + + dp_aux_ch2_i2c: i2c@31c0000 { + compatible = "nvidia,tegra194-i2c"; + reg = <0x31c0000 0x100>; + interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + clock-frequency = <100000>; + clocks = <&bpmp TEGRA234_CLK_I2C7 + &bpmp TEGRA234_CLK_PLLP_OUT0>; + assigned-clocks = <&bpmp TEGRA234_CLK_I2C7>; + assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>; + clock-names = "div-clk", "parent"; + resets = <&bpmp TEGRA234_RESET_I2C7>; + reset-names = "i2c"; + }; + + dp_aux_ch3_i2c: i2c@31e0000 { + compatible = "nvidia,tegra194-i2c"; + reg = <0x31e0000 0x100>; + interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + clock-frequency = <100000>; + clocks = <&bpmp TEGRA234_CLK_I2C9 + &bpmp TEGRA234_CLK_PLLP_OUT0>; + assigned-clocks = <&bpmp TEGRA234_CLK_I2C9>; + assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>; + clock-names = "div-clk", "parent"; + resets = <&bpmp TEGRA234_RESET_I2C9>; + reset-names = "i2c"; + }; + mmc@3460000 { compatible = "nvidia,tegra234-sdhci", "nvidia,tegra186-sdhci"; reg = <0x03460000 0x20000>;
@@ -212,6 +302,37 @@ #mbox-cells = <2>; }; + gen2_i2c: i2c@c240000 { + compatible = "nvidia,tegra194-i2c"; + reg = <0xc240000 0x100>; + interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + clock-frequency = <100000>; + clocks = <&bpmp TEGRA234_CLK_I2C2 + &bpmp TEGRA234_CLK_PLLP_OUT0>; + clock-names = "div-clk", "parent"; + assigned-clocks = <&bpmp TEGRA234_CLK_I2C2>; + assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>; + resets = <&bpmp TEGRA234_RESET_I2C2>; + reset-names = "i2c"; + }; + + gen8_i2c: i2c@c250000 { + compatible = "nvidia,tegra194-i2c"; + reg = <0xc250000 0x100>; + nvidia,hw-instance-id = <0x7>; + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + clock-frequency = <400000>; + clocks = <&bpmp TEGRA234_CLK_I2C8 + &bpmp TEGRA234_CLK_PLLP_OUT0>; + clock-names = "div-clk", "parent"; + assigned-clocks = <&bpmp TEGRA234_CLK_I2C8>; + assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>; + resets = <&bpmp TEGRA234_RESET_I2C8>; + reset-names = "i2c"; + }; + rtc@c2a0000 { compatible = "nvidia,tegra234-rtc", "nvidia,tegra20-rtc"; reg = <0x0c2a0000 0x10000>;
Signature · 1 line
2.7.4
PATCH v2 3/4 dt-bindings: Add headers for Tegra234 PWM
In reply to Akhil RAdd dt-bindings header files for PWM of Tegra234
--- include/dt-bindings/clock/tegra234-clock.h | 17 +++++++++++++++++ include/dt-bindings/reset/tegra234-reset.h | 8 ++++++++ 2 files changed, 25 insertions(+)
include/dt-bindings/clock/tegra234-clock.h +17 -0
@@ -50,4 +50,21 @@/** @brief PLLP clk output */ #define TEGRA234_CLK_PLLP_OUT0 102U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM1 */ +#define TEGRA234_CLK_PWM1 105U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM2 */ +#define TEGRA234_CLK_PWM2 106U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM3 */ +#define TEGRA234_CLK_PWM3 107U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM4 */ +#define TEGRA234_CLK_PWM4 108U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM5 */ +#define TEGRA234_CLK_PWM5 109U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM6 */ +#define TEGRA234_CLK_PWM6 110U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM7 */ +#define TEGRA234_CLK_PWM7 111U +/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM8 */ +#define TEGRA234_CLK_PWM8 112U +#endif
include/dt-bindings/reset/tegra234-reset.h +8 -0
@@ -20,6 +20,14 @@#define TEGRA234_RESET_I2C7 33U#define TEGRA234_RESET_I2C8 34U#define TEGRA234_RESET_I2C9 35U +#define TEGRA234_RESET_PWM1 68U +#define TEGRA234_RESET_PWM2 69U +#define TEGRA234_RESET_PWM3 70U +#define TEGRA234_RESET_PWM4 71U +#define TEGRA234_RESET_PWM5 72U +#define TEGRA234_RESET_PWM6 73U +#define TEGRA234_RESET_PWM7 74U +#define TEGRA234_RESET_PWM8 75U/** @} */
Signature · 1 line
2.7.4
PATCH v2 4/4 arm64: tegra: Add Tegra234 PWM devicetree nodes
In reply to Akhil RAdd device tree nodes for Tegra234 PWM
--- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/nvidia/tegra234.dtsi +12 -0
@@ -234,6 +234,18 @@ reset-names = "i2c"; }; + pwm1: pwm@3280000 { + compatible = "nvidia,tegra194-pwm", + "nvidia,tegra186-pwm"; + reg = <0x3280000 0x10000>; + clocks = <&bpmp TEGRA234_CLK_PWM1>; + clock-names = "pwm"; + resets = <&bpmp TEGRA234_RESET_PWM1>; + reset-names = "pwm"; + status = "disabled"; + #pwm-cells = <2>; + }; + mmc@3460000 { compatible = "nvidia,tegra234-sdhci", "nvidia,tegra186-sdhci"; reg = <0x03460000 0x20000>;
Signature · 1 line
2.7.4