[U-Boot] [PATCH v2 14/25] exynos: dts: Add pwm device tree node

Simon Glass
2016-02-22T04:08:51Z

Add this node from Linux v4.4 so that PWMs can be used in U-Boot.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v2: None

arch/arm/dts/exynos5250.dtsi | 7 +++++++
arch/arm/dts/exynos54xx.dtsi | 7 +++++++
2 files changed, 14 insertions(+)

diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi
index 7eef3e3..d44c9f6 100644
--- a/arch/arm/dts/exynos5250.dtsi
+++ b/arch/arm/dts/exynos5250.dtsi
@@ -116,4 +116,11 @@
};
};

+ pwm: pwm at 12dd0000 {
+ compatible = "samsung,exynos4210-pwm";
+ reg = <0x12dd0000 0x100>;
+ samsung,pwm-outputs = <0>, <1>, <2>, <3>;
+ #pwm-cells = <3>;
+ };
+
};
diff --git a/arch/arm/dts/exynos54xx.dtsi b/arch/arm/dts/exynos54xx.dtsi
index daa6a33..be99a82 100644
--- a/arch/arm/dts/exynos54xx.dtsi
+++ b/arch/arm/dts/exynos54xx.dtsi
@@ -197,6 +197,13 @@
mem-type = "ddr3";
};

+ pwm: pwm at 12dd0000 {
+ compatible = "samsung,exynos4210-pwm";
+ reg = <0x12dd0000 0x100>;
+ samsung,pwm-outputs = <0>, <1>, <2>, <3>;
+ #pwm-cells = <3>;
+ };
+
xhci1: xhci at 12400000 {
compatible = "samsung,exynos5250-xhci";
reg = <0x12400000 0x10000>;
--
2.7.0.rc3.207.g0ac5344