Skip to contentSkip to conversation

arm: dts: aspeed: Describe ADCs for AST2400/AST2500

PATCH Applied Rick Altherr 2 participants 2 messages Mar 30, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: aspeed: Describe ADCs for AST2400/AST2500

---

 arch/arm/boot/dts/aspeed-g4.dtsi | 7 +++++++
 arch/arm/boot/dts/aspeed-g5.dtsi | 8 +++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)
arch/arm/boot/dts/aspeed-g4.dtsi +7 -0
index 28408a2e2ad5..e5be87076a6b 100644
@@ -840,6 +840,13 @@
 				reg = <0x1e6e202c 0x4>;
 			};
 
+			adc: adc@1e6e9000 {
+				compatible = "aspeed,ast2400-adc";
+				reg = <0x1e6e9000 0xB0>;
+				clocks = <&clk_apb>;
+				#io-channel-cells = <1>;
+			};
+
 			sram@1e720000 {
 				compatible = "mmio-sram";
 				reg = <0x1e720000 0x8000>;	// 32K
arch/arm/boot/dts/aspeed-g5.dtsi +7 -1
index 7c09a26eea6e..48fd068251d6 100644
@@ -394,7 +394,6 @@
 						function = "LAD0";
 						groups = "LAD0";
 					};
-
 					pinctrl_lad1_default: lad1_default {
 						function = "LAD1";
 						groups = "LAD1";
@@ -1019,6 +1018,13 @@
 				status = "disabled";
 			};
 
+			adc: adc@1e6e9000 {
+				compatible = "aspeed,ast2500-adc";
+				reg = <0x1e6e9000 0xB0>;
+				clocks = <&clk_apb>;
+				#io-channel-cells = <1>;
+			};
+
 			sram@1e720000 {
 				compatible = "mmio-sram";
 				reg = <0x1e720000 0x9000>;	// 36K
Signature · 1 line
2.12.2.564.g063fe858b8-goog
maintainer Applied
#1 lore raw
Quoted 1 line · Rick Altherr

Applied to dev-4.7.

Cheers,

Joel

Quoted 53 lines

---

 arch/arm/boot/dts/aspeed-g4.dtsi | 7 +++++++
 arch/arm/boot/dts/aspeed-g5.dtsi | 8 +++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)
arch/arm/boot/dts/aspeed-g4.dtsi +7 -0
index 28408a2e2ad5..e5be87076a6b 100644
@@ -840,6 +840,13 @@
                                reg = <0x1e6e202c 0x4>;
                        };
 
+                       adc: adc@1e6e9000 {
+                               compatible = "aspeed,ast2400-adc";
+                               reg = <0x1e6e9000 0xB0>;
+                               clocks = <&clk_apb>;
+                               #io-channel-cells = <1>;
+                       };
+
                        sram@1e720000 {
                                compatible = "mmio-sram";
                                reg = <0x1e720000 0x8000>;      // 32K
arch/arm/boot/dts/aspeed-g5.dtsi +7 -2
index 7c09a26eea6e..48fd068251d6 100644
@@ -394,7 +394,6 @@
                                                function = "LAD0";
                                                groups = "LAD0";
                                        };
-
                                        pinctrl_lad1_default: lad1_default {
                                                function = "LAD1";
                                                groups = "LAD1";
@@ -1019,6 +1018,13 @@
                                status = "disabled";
                        };
 
+                       adc: adc@1e6e9000 {
+                               compatible = "aspeed,ast2500-adc";
+                               reg = <0x1e6e9000 0xB0>;
+                               clocks = <&clk_apb>;
+                               #io-channel-cells = <1>;
+                       };
+
                        sram@1e720000 {
                                compatible = "mmio-sram";
                                reg = <0x1e720000 0x9000>;      // 36K
--

2.12.2.564.g063fe858b8-goog