public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/7] regulator: mcp16502: Update the names from buck regulators
@ 2024-03-27 10:17 Mihai Sain
  2024-03-27 10:17 ` [PATCH 1/7] ARM: dts: microchip: sama5d27_wlsom1: Update the node names from pmic-regulators Mihai Sain
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Mihai Sain @ 2024-03-27 10:17 UTC (permalink / raw)
  To: robh, krzysztof.kozlowski+dt, conor+dt, nicolas.ferre,
	alexandre.belloni, claudiu.beznea, lgirdwood, broonie,
	andrei.simion, devicetree, linux-arm-kernel, linux-kernel
  Cc: Mihai Sain

Use generic names for buck regulators to avoid any confusion.
Update the names from buck regulators in order to match
the datasheet block diagram for the buck regulators.
Using BUCK1-4 as node names is consistent with the node naming rules.

Link: https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP16502-Data-Sheet-DS20006275.pdf

Mihai Sain (7):
  ARM: dts: microchip: sama5d27_wlsom1: Update the node names from pmic-regulators
  ARM: dts: microchip: sama5d29_curiosity: Update the node names from pmic-regulators
  ARM: dts: microchip: sama5d2_icp: Update the node names from pmic-regulators
  ARM: dts: microchip: sama7g54_curiosity: Update the node names from pmic-regulators
  ARM: dts: microchip: sama7g5ek: Update the node names from pmic-regulators
  regulator: dt-bindings: microchip,mcp16502: Update the node names from buck regulators
  regulator: mcp16502: Update the names from buck regulators

 .../bindings/regulator/microchip,mcp16502.yaml         | 10 +++++-----
 arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi  |  8 ++++----
 .../arm/boot/dts/microchip/at91-sama5d29_curiosity.dts |  8 ++++----
 arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts       |  8 ++++----
 .../arm/boot/dts/microchip/at91-sama7g54_curiosity.dts |  8 ++++----
 arch/arm/boot/dts/microchip/at91-sama7g5ek.dts         |  8 ++++----
 drivers/regulator/mcp16502.c                           |  8 ++++----
 7 files changed, 29 insertions(+), 29 deletions(-)

-- 
2.44.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 1/7] ARM: dts: microchip: sama5d27_wlsom1: Update the node names from pmic-regulators
  2024-03-27 10:17 [PATCH 0/7] regulator: mcp16502: Update the names from buck regulators Mihai Sain
@ 2024-03-27 10:17 ` Mihai Sain
  2024-03-27 10:17 ` [PATCH 2/7] ARM: dts: microchip: sama5d29_curiosity: " Mihai Sain
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Mihai Sain @ 2024-03-27 10:17 UTC (permalink / raw)
  To: robh, krzysztof.kozlowski+dt, conor+dt, nicolas.ferre,
	alexandre.belloni, claudiu.beznea, lgirdwood, broonie,
	andrei.simion, devicetree, linux-arm-kernel, linux-kernel
  Cc: Mihai Sain

Update the node names from pmic-regulators in order to match
the datasheet and driver namings for buck regulators.
Using BUCK1-4 as node names is consistent with the node naming rules.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
 arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi
index 4617805c7748..228382f630cc 100644
--- a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi
+++ b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi
@@ -74,7 +74,7 @@ mcp16502@5b {
 		lpm-gpios = <&pioBU 0 GPIO_ACTIVE_LOW>;
 
 		regulators {
-			vdd_3v3: VDD_IO {
+			vdd_3v3: BUCK1 {
 				regulator-name = "VDD_IO";
 				regulator-min-microvolt = <3300000>;
 				regulator-max-microvolt = <3300000>;
@@ -93,7 +93,7 @@ regulator-state-mem {
 				};
 			};
 
-			vddio_ddr: VDD_DDR {
+			vddio_ddr: BUCK2 {
 				regulator-name = "VDD_DDR";
 				regulator-min-microvolt = <1200000>;
 				regulator-max-microvolt = <1200000>;
@@ -116,7 +116,7 @@ regulator-state-mem {
 				};
 			};
 
-			vdd_core: VDD_CORE {
+			vdd_core: BUCK3 {
 				regulator-name = "VDD_CORE";
 				regulator-min-microvolt = <1250000>;
 				regulator-max-microvolt = <1250000>;
@@ -135,7 +135,7 @@ regulator-state-mem {
 				};
 			};
 
-			vdd_ddr: VDD_OTHER {
+			vdd_ddr: BUCK4 {
 				regulator-name = "VDD_OTHER";
 				regulator-min-microvolt = <1800000>;
 				regulator-max-microvolt = <1800000>;
-- 
2.44.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/7] ARM: dts: microchip: sama5d29_curiosity: Update the node names from pmic-regulators
  2024-03-27 10:17 [PATCH 0/7] regulator: mcp16502: Update the names from buck regulators Mihai Sain
  2024-03-27 10:17 ` [PATCH 1/7] ARM: dts: microchip: sama5d27_wlsom1: Update the node names from pmic-regulators Mihai Sain
@ 2024-03-27 10:17 ` Mihai Sain
  2024-03-27 10:17 ` [PATCH 3/7] ARM: dts: microchip: sama5d2_icp: " Mihai Sain
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Mihai Sain @ 2024-03-27 10:17 UTC (permalink / raw)
  To: robh, krzysztof.kozlowski+dt, conor+dt, nicolas.ferre,
	alexandre.belloni, claudiu.beznea, lgirdwood, broonie,
	andrei.simion, devicetree, linux-arm-kernel, linux-kernel
  Cc: Mihai Sain

Update the node names from pmic-regulators in order to match
the datasheet and driver namings for buck regulators.
Using BUCK1-4 as node names is consistent with the node naming rules.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
 arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts
index 6b02b7bcfd49..b1874ae8dfc2 100644
--- a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts
+++ b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts
@@ -148,7 +148,7 @@ mcp16502@5b {
 		lpm-gpios = <&pioBU 0 GPIO_ACTIVE_LOW>;
 
 		regulators {
-			vdd_3v3: VDD_IO {
+			vdd_3v3: BUCK1 {
 				regulator-name = "VDD_IO";
 				regulator-min-microvolt = <3300000>;
 				regulator-max-microvolt = <3300000>;
@@ -167,7 +167,7 @@ regulator-state-mem {
 				};
 			};
 
-			vddio_ddr: VDD_DDR {
+			vddio_ddr: BUCK2 {
 				regulator-name = "VDD_DDR";
 				regulator-min-microvolt = <1200000>;
 				regulator-max-microvolt = <1200000>;
@@ -190,7 +190,7 @@ regulator-state-mem {
 				};
 			};
 
-			vdd_core: VDD_CORE {
+			vdd_core: BUCK3 {
 				regulator-name = "VDD_CORE";
 				regulator-min-microvolt = <1250000>;
 				regulator-max-microvolt = <1250000>;
@@ -209,7 +209,7 @@ regulator-state-mem {
 				};
 			};
 
-			vdd_ddr: VDD_OTHER {
+			vdd_ddr: BUCK4 {
 				regulator-name = "VDD_OTHER";
 				regulator-min-microvolt = <1800000>;
 				regulator-max-microvolt = <1800000>;
-- 
2.44.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 3/7] ARM: dts: microchip: sama5d2_icp: Update the node names from pmic-regulators
  2024-03-27 10:17 [PATCH 0/7] regulator: mcp16502: Update the names from buck regulators Mihai Sain
  2024-03-27 10:17 ` [PATCH 1/7] ARM: dts: microchip: sama5d27_wlsom1: Update the node names from pmic-regulators Mihai Sain
  2024-03-27 10:17 ` [PATCH 2/7] ARM: dts: microchip: sama5d29_curiosity: " Mihai Sain
@ 2024-03-27 10:17 ` Mihai Sain
  2024-03-27 10:17 ` [PATCH 4/7] ARM: dts: microchip: sama7g54_curiosity: " Mihai Sain
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Mihai Sain @ 2024-03-27 10:17 UTC (permalink / raw)
  To: robh, krzysztof.kozlowski+dt, conor+dt, nicolas.ferre,
	alexandre.belloni, claudiu.beznea, lgirdwood, broonie,
	andrei.simion, devicetree, linux-arm-kernel, linux-kernel
  Cc: Mihai Sain

Update the node names from pmic-regulators in order to match
the datasheet and driver namings for buck regulators.
Using BUCK1-4 as node names is consistent with the node naming rules.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
 arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts b/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts
index 999adeca6f33..f20de8180381 100644
--- a/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts
+++ b/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts
@@ -194,7 +194,7 @@ mcp16502@5b {
 			lpm-gpios = <&pioBU 7 GPIO_ACTIVE_LOW>;
 
 			regulators {
-				vdd_io_reg: VDD_IO {
+				vdd_io_reg: BUCK1 {
 					regulator-name = "VDD_IO";
 					regulator-min-microvolt = <3300000>;
 					regulator-max-microvolt = <3300000>;
@@ -213,7 +213,7 @@ regulator-state-mem {
 					};
 				};
 
-				VDD_DDR {
+				BUCK2 {
 					regulator-name = "VDD_DDR";
 					regulator-min-microvolt = <1350000>;
 					regulator-max-microvolt = <1350000>;
@@ -232,7 +232,7 @@ regulator-state-mem {
 					};
 				};
 
-				VDD_CORE {
+				BUCK3 {
 					regulator-name = "VDD_CORE";
 					regulator-min-microvolt = <1250000>;
 					regulator-max-microvolt = <1250000>;
@@ -251,7 +251,7 @@ regulator-state-mem {
 					};
 				};
 
-				VDD_OTHER {
+				BUCK4 {
 					regulator-name = "VDD_OTHER";
 					regulator-min-microvolt = <600000>;
 					regulator-max-microvolt = <1850000>;
-- 
2.44.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 4/7] ARM: dts: microchip: sama7g54_curiosity: Update the node names from pmic-regulators
  2024-03-27 10:17 [PATCH 0/7] regulator: mcp16502: Update the names from buck regulators Mihai Sain
                   ` (2 preceding siblings ...)
  2024-03-27 10:17 ` [PATCH 3/7] ARM: dts: microchip: sama5d2_icp: " Mihai Sain
@ 2024-03-27 10:17 ` Mihai Sain
  2024-03-27 10:17 ` [PATCH 5/7] ARM: dts: microchip: sama7g5ek: " Mihai Sain
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Mihai Sain @ 2024-03-27 10:17 UTC (permalink / raw)
  To: robh, krzysztof.kozlowski+dt, conor+dt, nicolas.ferre,
	alexandre.belloni, claudiu.beznea, lgirdwood, broonie,
	andrei.simion, devicetree, linux-arm-kernel, linux-kernel
  Cc: Mihai Sain

Update the node names from pmic-regulators in order to match
the datasheet and driver namings for buck regulators.
Using BUCK1-4 as node names is consistent with the node naming rules.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
 arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts
index 4f609e9e510e..a83a6fd3f5fa 100644
--- a/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts
+++ b/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts
@@ -191,7 +191,7 @@ pmic@5b {
 			reg = <0x5b>;
 
 			regulators {
-				vdd_3v3: VDD_IO {
+				vdd_3v3: BUCK1 {
 					regulator-name = "VDD_IO";
 					regulator-min-microvolt = <3300000>;
 					regulator-max-microvolt = <3300000>;
@@ -211,7 +211,7 @@ regulator-state-mem {
 					};
 				};
 
-				vddioddr: VDD_DDR {
+				vddioddr: BUCK2 {
 					regulator-name = "VDD_DDR";
 					regulator-min-microvolt = <1350000>;
 					regulator-max-microvolt = <1350000>;
@@ -232,7 +232,7 @@ regulator-state-mem {
 					};
 				};
 
-				vddcore: VDD_CORE {
+				vddcore: BUCK3 {
 					regulator-name = "VDD_CORE";
 					regulator-min-microvolt = <1150000>;
 					regulator-max-microvolt = <1150000>;
@@ -252,7 +252,7 @@ regulator-state-mem {
 					};
 				};
 
-				vddcpu: VDD_OTHER {
+				vddcpu: BUCK4 {
 					regulator-name = "VDD_OTHER";
 					regulator-min-microvolt = <1050000>;
 					regulator-max-microvolt = <1250000>;
-- 
2.44.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 5/7] ARM: dts: microchip: sama7g5ek: Update the node names from pmic-regulators
  2024-03-27 10:17 [PATCH 0/7] regulator: mcp16502: Update the names from buck regulators Mihai Sain
                   ` (3 preceding siblings ...)
  2024-03-27 10:17 ` [PATCH 4/7] ARM: dts: microchip: sama7g54_curiosity: " Mihai Sain
@ 2024-03-27 10:17 ` Mihai Sain
  2024-03-27 10:17 ` [PATCH 6/7] regulator: dt-bindings: microchip,mcp16502: Update the node names from buck regulators Mihai Sain
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Mihai Sain @ 2024-03-27 10:17 UTC (permalink / raw)
  To: robh, krzysztof.kozlowski+dt, conor+dt, nicolas.ferre,
	alexandre.belloni, claudiu.beznea, lgirdwood, broonie,
	andrei.simion, devicetree, linux-arm-kernel, linux-kernel
  Cc: Mihai Sain

Update the node names from pmic-regulators in order to match
the datasheet and driver namings for buck regulators.
Using BUCK1-4 as node names is consistent with the node naming rules.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
 arch/arm/boot/dts/microchip/at91-sama7g5ek.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts b/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts
index 217e9b96c61e..5a9b8b6dd0df 100644
--- a/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts
+++ b/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts
@@ -242,7 +242,7 @@ mcp16502@5b {
 			status = "okay";
 
 			regulators {
-				vdd_3v3: VDD_IO {
+				vdd_3v3: BUCK1 {
 					regulator-name = "VDD_IO";
 					regulator-min-microvolt = <3300000>;
 					regulator-max-microvolt = <3300000>;
@@ -262,7 +262,7 @@ regulator-state-mem {
 					};
 				};
 
-				vddioddr: VDD_DDR {
+				vddioddr: BUCK2 {
 					regulator-name = "VDD_DDR";
 					regulator-min-microvolt = <1350000>;
 					regulator-max-microvolt = <1350000>;
@@ -283,7 +283,7 @@ regulator-state-mem {
 					};
 				};
 
-				vddcore: VDD_CORE {
+				vddcore: BUCK3 {
 					regulator-name = "VDD_CORE";
 					regulator-min-microvolt = <1150000>;
 					regulator-max-microvolt = <1150000>;
@@ -303,7 +303,7 @@ regulator-state-mem {
 					};
 				};
 
-				vddcpu: VDD_OTHER {
+				vddcpu: BUCK4 {
 					regulator-name = "VDD_OTHER";
 					regulator-min-microvolt = <1050000>;
 					regulator-max-microvolt = <1250000>;
-- 
2.44.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 6/7] regulator: dt-bindings: microchip,mcp16502: Update the node names from buck regulators
  2024-03-27 10:17 [PATCH 0/7] regulator: mcp16502: Update the names from buck regulators Mihai Sain
                   ` (4 preceding siblings ...)
  2024-03-27 10:17 ` [PATCH 5/7] ARM: dts: microchip: sama7g5ek: " Mihai Sain
@ 2024-03-27 10:17 ` Mihai Sain
  2024-03-27 10:17 ` [PATCH 7/7] regulator: mcp16502: Update the " Mihai Sain
  2024-03-27 15:41 ` [PATCH 0/7] " Rob Herring
  7 siblings, 0 replies; 11+ messages in thread
From: Mihai Sain @ 2024-03-27 10:17 UTC (permalink / raw)
  To: robh, krzysztof.kozlowski+dt, conor+dt, nicolas.ferre,
	alexandre.belloni, claudiu.beznea, lgirdwood, broonie,
	andrei.simion, devicetree, linux-arm-kernel, linux-kernel
  Cc: Mihai Sain

Update the node names from buck regulators in order to match
the datasheet and driver namings for buck regulators.
Using BUCK1-4 as node names is consistent with the node naming rules.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
 .../bindings/regulator/microchip,mcp16502.yaml         | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/regulator/microchip,mcp16502.yaml b/Documentation/devicetree/bindings/regulator/microchip,mcp16502.yaml
index 1aca3646789e..72a1f8a92949 100644
--- a/Documentation/devicetree/bindings/regulator/microchip,mcp16502.yaml
+++ b/Documentation/devicetree/bindings/regulator/microchip,mcp16502.yaml
@@ -34,7 +34,7 @@ properties:
     description: List of regulators and its properties.
 
     patternProperties:
-      "^(VDD_(IO|CORE|DDR|OTHER)|LDO[1-2])$":
+      "^(BUCK[1-4]|LDO[1-2])$":
         type: object
         $ref: regulator.yaml#
         unevaluatedProperties: false
@@ -70,7 +70,7 @@ examples:
             reg = <0x5b>;
 
             regulators {
-                VDD_IO {
+                BUCK1 {
                     regulator-name = "VDD_IO";
                     regulator-min-microvolt = <3300000>;
                     regulator-max-microvolt = <3300000>;
@@ -89,7 +89,7 @@ examples:
                     };
                 };
 
-                VDD_DDR {
+                BUCK2 {
                     regulator-name = "VDD_DDR";
                     regulator-min-microvolt = <1350000>;
                     regulator-max-microvolt = <1350000>;
@@ -108,7 +108,7 @@ examples:
                     };
                 };
 
-                VDD_CORE {
+                BUCK3 {
                     regulator-name = "VDD_CORE";
                     regulator-min-microvolt = <1150000>;
                     regulator-max-microvolt = <1150000>;
@@ -127,7 +127,7 @@ examples:
                     };
                 };
 
-                VDD_OTHER {
+                BUCK4 {
                     regulator-name = "VDD_OTHER";
                     regulator-min-microvolt = <1050000>;
                     regulator-max-microvolt = <1250000>;
-- 
2.44.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 7/7] regulator: mcp16502: Update the names from buck regulators
  2024-03-27 10:17 [PATCH 0/7] regulator: mcp16502: Update the names from buck regulators Mihai Sain
                   ` (5 preceding siblings ...)
  2024-03-27 10:17 ` [PATCH 6/7] regulator: dt-bindings: microchip,mcp16502: Update the node names from buck regulators Mihai Sain
@ 2024-03-27 10:17 ` Mihai Sain
  2024-03-27 16:28   ` Conor Dooley
  2024-03-27 15:41 ` [PATCH 0/7] " Rob Herring
  7 siblings, 1 reply; 11+ messages in thread
From: Mihai Sain @ 2024-03-27 10:17 UTC (permalink / raw)
  To: robh, krzysztof.kozlowski+dt, conor+dt, nicolas.ferre,
	alexandre.belloni, claudiu.beznea, lgirdwood, broonie,
	andrei.simion, devicetree, linux-arm-kernel, linux-kernel
  Cc: Mihai Sain

Use generic names for buck regulators to avoid any confusion.
Update the names from buck regulators in order to match
the datasheet block diagram for the buck regulators.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
 drivers/regulator/mcp16502.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/regulator/mcp16502.c b/drivers/regulator/mcp16502.c
index 0c15a19fe83a..d6fc9f1afaef 100644
--- a/drivers/regulator/mcp16502.c
+++ b/drivers/regulator/mcp16502.c
@@ -468,13 +468,13 @@ static const struct linear_range b234_ranges[] = {
 
 static const struct regulator_desc mcp16502_desc[] = {
 	/* MCP16502_REGULATOR(_name, _id, ranges, regulator_ops, ramp_table) */
-	MCP16502_REGULATOR("VDD_IO", BUCK1, b1l12_ranges, mcp16502_buck_ops,
+	MCP16502_REGULATOR("BUCK1", BUCK1, b1l12_ranges, mcp16502_buck_ops,
 			   mcp16502_ramp_b1l12),
-	MCP16502_REGULATOR("VDD_DDR", BUCK2, b234_ranges, mcp16502_buck_ops,
+	MCP16502_REGULATOR("BUCK2", BUCK2, b234_ranges, mcp16502_buck_ops,
 			   mcp16502_ramp_b234),
-	MCP16502_REGULATOR("VDD_CORE", BUCK3, b234_ranges, mcp16502_buck_ops,
+	MCP16502_REGULATOR("BUCK3", BUCK3, b234_ranges, mcp16502_buck_ops,
 			   mcp16502_ramp_b234),
-	MCP16502_REGULATOR("VDD_OTHER", BUCK4, b234_ranges, mcp16502_buck_ops,
+	MCP16502_REGULATOR("BUCK4", BUCK4, b234_ranges, mcp16502_buck_ops,
 			   mcp16502_ramp_b234),
 	MCP16502_REGULATOR("LDO1", LDO1, b1l12_ranges, mcp16502_ldo_ops,
 			   mcp16502_ramp_b1l12),
-- 
2.44.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/7] regulator: mcp16502: Update the names from buck regulators
  2024-03-27 10:17 [PATCH 0/7] regulator: mcp16502: Update the names from buck regulators Mihai Sain
                   ` (6 preceding siblings ...)
  2024-03-27 10:17 ` [PATCH 7/7] regulator: mcp16502: Update the " Mihai Sain
@ 2024-03-27 15:41 ` Rob Herring
  7 siblings, 0 replies; 11+ messages in thread
From: Rob Herring @ 2024-03-27 15:41 UTC (permalink / raw)
  To: Mihai Sain
  Cc: conor+dt, devicetree, alexandre.belloni, lgirdwood, linux-kernel,
	broonie, krzysztof.kozlowski+dt, claudiu.beznea, andrei.simion,
	linux-arm-kernel


On Wed, 27 Mar 2024 12:17:17 +0200, Mihai Sain wrote:
> Use generic names for buck regulators to avoid any confusion.
> Update the names from buck regulators in order to match
> the datasheet block diagram for the buck regulators.
> Using BUCK1-4 as node names is consistent with the node naming rules.
> 
> Link: https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP16502-Data-Sheet-DS20006275.pdf
> 
> Mihai Sain (7):
>   ARM: dts: microchip: sama5d27_wlsom1: Update the node names from pmic-regulators
>   ARM: dts: microchip: sama5d29_curiosity: Update the node names from pmic-regulators
>   ARM: dts: microchip: sama5d2_icp: Update the node names from pmic-regulators
>   ARM: dts: microchip: sama7g54_curiosity: Update the node names from pmic-regulators
>   ARM: dts: microchip: sama7g5ek: Update the node names from pmic-regulators
>   regulator: dt-bindings: microchip,mcp16502: Update the node names from buck regulators
>   regulator: mcp16502: Update the names from buck regulators
> 
>  .../bindings/regulator/microchip,mcp16502.yaml         | 10 +++++-----
>  arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi  |  8 ++++----
>  .../arm/boot/dts/microchip/at91-sama5d29_curiosity.dts |  8 ++++----
>  arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts       |  8 ++++----
>  .../arm/boot/dts/microchip/at91-sama7g54_curiosity.dts |  8 ++++----
>  arch/arm/boot/dts/microchip/at91-sama7g5ek.dts         |  8 ++++----
>  drivers/regulator/mcp16502.c                           |  8 ++++----
>  7 files changed, 29 insertions(+), 29 deletions(-)
> 
> --
> 2.44.0
> 
> 
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y microchip/at91-sama5d29_curiosity.dtb microchip/at91-sama5d2_icp.dtb microchip/at91-sama7g54_curiosity.dtb microchip/at91-sama7g5ek.dtb' for 20240327101724.2982-1-mihai.sain@microchip.com:

arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dtb: ahb: apb: {'compatible': ['simple-bus'], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': True, 'hlcdc@f0000000': {'compatible': ['atmel,sama5d2-hlcdc'], 'reg': [[4026531840, 8192]], 'interrupts': [[45, 4, 0]], 'clocks': [[3, 2, 45], [3, 1, 3], [16]], 'clock-names': ['periph_clk', 'sys_clk', 'slow_clk'], 'status': ['disabled'], 'phandle': [[52]], 'hlcdc-display-controller': {'compatible': ['atmel,hlcdc-display-controller'], '#address-cells': [[1]], '#size-cells': [[0]], 'port@0': {'#address-cells': [[1]], '#size-cells': [[0]], 'reg': [[0]]}}, 'hlcdc-pwm': {'compatible': ['atmel,hlcdc-pwm'], '#pwm-cells': [[3]], 'phandle': [[53]]}}, 'isc@f0008000': {'compatible': ['atmel,sama5d2-isc'], 'reg': [[4026564608, 16384]], 'interrupts': [[46, 4, 5]], 'clocks': [[3, 2, 46], [3, 1, 18], [3, 3, 46]], 'clock-names': ['hclock', 'iscck', 'gck'], '#clock-cells': [[0]], 'clock-output-names': ['isc-mck'], 'status': ['disabled'], 'phandle
 ': [[54]]}, 'ramc@f000c000': {'compatible': ['atmel,sama5d3-ddramc'], 'reg': [[4026580992, 512]], 'clocks': [[3, 1, 2], [3, 2, 13]], 'clock-names': ['ddrck', 'mpddr'], 'phandle': [[55]]}, 'dma-controller@f0010000': {'compatible': ['atmel,sama5d4-dma'], 'reg': [[4026597376, 4096]], 'interrupts': [[6, 4, 0]], '#dma-cells': [[1]], 'clocks': [[3, 2, 6]], 'clock-names': ['dma_clk'], 'phandle': [[19]]}, 'dma-controller@f0004000': {'compatible': ['atmel,sama5d4-dma'], 'reg': [[4026548224, 4096]], 'interrupts': [[7, 4, 0]], '#dma-cells': [[1]], 'clocks': [[3, 2, 7]], 'clock-names': ['dma_clk'], 'phandle': [[31]]}, 'clock-controller@f0014000': {'compatible': ['atmel,sama5d2-pmc', 'syscon'], 'reg': [[4026613760, 352]], 'interrupts': [[74, 4, 7]], '#clock-cells': [[2]], 'clocks': [[16], [17]], 'clock-names': ['slow_clk', 'main_xtal'], 'phandle': [[3]]}, 'spi@f0020000': {'compatible': ['atmel,sama5d2-qspi'], 'reg': [[4026662912, 256], [3489660928, 134217728]], 'reg-names': ['qspi_base', 'qspi_m
 map'], 'interrupts': [[52, 4, 7]], 'clocks': [[3, 2, 52]], 'clock-names': ['pclk'], '#address-cells': [[1]], '#size-cells': [[0]], 'status': ['disabled'], 'phandle': [[56]]}, 'spi@f0024000': {'compatible': ['atmel,sama5d2-qspi'], 'reg': [[4026679296, 256], [3623878656, 134217728]], 'reg-names': ['qspi_base', 'qspi_mmap'], 'interrupts': [[53, 4, 7]], 'clocks': [[3, 2, 53]], 'clock-names': ['pclk'], '#address-cells': [[1]], '#size-cells': [[0]], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[18]], 'phandle': [[57]], 'flash@0': {'#address-cells': [[1]], '#size-cells': [[1]], 'compatible': ['jedec,spi-nor'], 'reg': [[0]], 'spi-max-frequency': [[80000000]], 'spi-tx-bus-width': [[4]], 'spi-rx-bus-width': [[4]], 'm25p,fast-read': True, 'label': ['atmel_qspi1'], 'status': ['okay'], 'at91bootstrap@0': {'label': ['at91bootstrap'], 'reg': [[0, 262144]]}, 'bootloader@40000': {'label': ['bootloader'], 'reg': [[262144, 786432]]}, 'bootloaderenvred@100000': {'label': ['bootloader
  env redundant'], 'reg': [[1048576, 262144]]}, 'bootloaderenv@140000': {'label': ['bootloader env'], 'reg': [[1310720, 262144]]}, 'dtb@180000': {'label': ['device tree'], 'reg': [[1572864, 524288]]}, 'kernel@200000': {'label': ['kernel'], 'reg': [[2097152, 6291456]]}}}, 'crypto@f0028000': {'compatible': ['atmel,at91sam9g46-sha'], 'reg': [[4026695680, 256]], 'interrupts': [[12, 4, 0]], 'dmas': [[19, 503332864]], 'dma-names': ['tx'], 'clocks': [[3, 2, 12]], 'clock-names': ['sha_clk'], 'phandle': [[58]]}, 'crypto@f002c000': {'compatible': ['atmel,at91sam9g46-aes'], 'reg': [[4026712064, 256]], 'interrupts': [[9, 4, 0]], 'dmas': [[19, 436224000], [19, 453001216]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 9]], 'clock-names': ['aes_clk'], 'phandle': [[59]]}, 'spi@f8000000': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[4160749568, 256]], 'interrupts': [[33, 4, 7]], 'dmas': [[19, 100679680], [19, 117456896]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 33]], 'clock-names': ['spi_cl
 k'], 'atmel,fifo-size': [[16]], '#address-cells': [[1]], '#size-cells': [[0]], 'status': ['disabled'], 'phandle': [[60]]}, 'ssc@f8004000': {'compatible': ['atmel,at91sam9g45-ssc'], 'reg': [[4160765952, 16384]], 'interrupts': [[43, 4, 4]], 'dmas': [[19, 352337920], [19, 369115136]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 43]], 'clock-names': ['pclk'], 'status': ['disabled'], 'phandle': [[61]]}, 'ethernet@f8008000': {'compatible': ['atmel,sama5d29-gem'], 'reg': [[4160782336, 4096]], 'interrupts': [[5, 4, 3], [66, 4, 3], [67, 4, 3]], 'clocks': [[3, 2, 5], [3, 2, 5]], 'clock-names': ['hclk', 'pclk'], 'status': ['disabled'], 'phandle': [[62]]}, 'timer@f800c000': {'compatible': ['atmel,sama5d2-tcb', 'simple-mfd', 'syscon'], '#address-cells': [[1]], '#size-cells': [[0]], 'reg': [[4160798720, 256]], 'interrupts': [[35, 4, 0]], 'clocks': [[3, 2, 35], [3, 3, 35], [16]], 'clock-names': ['t0_clk', 'gclk', 'slow_clk'], 'phandle': [[63]], 'timer@0': {'compatible': ['atmel,tcb-timer'], 'reg'
 : [[0]], 'phandle': [[64]]}, 'timer@1': {'compatible': ['atmel,tcb-timer'], 'reg': [[1]], 'phandle': [[65]]}}, 'timer@f8010000': {'compatible': ['atmel,sama5d2-tcb', 'simple-mfd', 'syscon'], '#address-cells': [[1]], '#size-cells': [[0]], 'reg': [[4160815104, 256]], 'interrupts': [[36, 4, 0]], 'clocks': [[3, 2, 36], [3, 3, 36], [16]], 'clock-names': ['t0_clk', 'gclk', 'slow_clk'], 'phandle': [[66]]}, 'hsmc@f8014000': {'compatible': ['atmel,sama5d2-smc', 'syscon', 'simple-mfd'], 'reg': [[4160831488, 4096]], 'interrupts': [[17, 4, 6]], 'clocks': [[3, 2, 17]], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': True, 'phandle': [[10]], 'ecc-engine@f8014070': {'compatible': ['atmel,sama5d2-pmecc'], 'reg': [[4160831600, 1168], [4160832768, 512]], 'phandle': [[13]]}}, 'pdmic@f8018000': {'compatible': ['atmel,sama5d2-pdmic'], 'reg': [[4160847872, 292]], 'interrupts': [[48, 4, 7]], 'dmas': [[19, 838877184]], 'dma-names': ['rx'], 'clocks': [[3, 2, 48], [3, 3, 48]], 'clock-names': ['pclk'
 , 'gclk'], 'status': ['disabled'], 'phandle': [[67]]}, 'serial@f801c000': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[4160864256, 256]], 'atmel,usart-mode': [[0]], 'interrupts': [[24, 4, 7]], 'dmas': [[19, 587218944], [19, 603996160]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 24]], 'clock-names': ['usart'], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[20]], 'atmel,use-dma-rx': True, 'atmel,use-dma-tx': True, 'phandle': [[68]]}, 'serial@f8020000': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[4160880640, 256]], 'atmel,usart-mode': [[0]], 'interrupts': [[25, 4, 7]], 'dmas': [[19, 620773376], [19, 637550592]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 25]], 'clock-names': ['usart'], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[21]], 'atmel,use-dma-rx': True, 'atmel,use-dma-tx': True, 'phandle': [[69]]}, 'serial@f8024000': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[4160897024, 256]], 'atmel,usart-mode': [[0]], 'int
 errupts': [[26, 4, 7]], 'dmas': [[19, 654327808], [19, 671105024]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 26]], 'clock-names': ['usart'], 'status': ['disabled'], 'phandle': [[70]]}, 'i2c@f8028000': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[4160913408, 256]], 'interrupts': [[29, 4, 7]], 'dmas': [[0], [0]], 'dma-names': ['tx', 'rx'], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 29]], 'atmel,fifo-size': [[16]], 'status': ['okay'], 'pinctrl-names': ['default', 'gpio'], 'pinctrl-0': [[22]], 'pinctrl-1': [[23]], 'sda-gpios': [[7, 63, 0]], 'scl-gpios': [[7, 64, 6]], 'i2c-sda-hold-time-ns': [[350]], 'phandle': [[71]], 'mcp16502@5b': {'compatible': ['microchip,mcp16502'], 'reg': [[91]], 'status': ['okay'], 'lpm-gpios': [[24, 0, 1]], 'regulators': {'BUCK1': {'regulator-name': ['VDD_IO'], 'regulator-min-microvolt': [[3300000]], 'regulator-max-microvolt': [[3300000]], 'regulator-initial-mode': [[2]], 'regulator-allowed-modes': [[2, 4]], 'regulator-always-on': Tru
 e, 'phandle': [[37]], 'regulator-state-standby': {'regulator-on-in-suspend': True, 'regulator-mode': [[4]]}, 'regulator-state-mem': {'regulator-off-in-suspend': True, 'regulator-mode': [[4]]}}, 'BUCK2': {'regulator-name': ['VDD_DDR'], 'regulator-min-microvolt': [[1200000]], 'regulator-max-microvolt': [[1200000]], 'regulator-initial-mode': [[2]], 'regulator-allowed-modes': [[2, 4]], 'regulator-always-on': True, 'phandle': [[72]], 'regulator-state-standby': {'regulator-on-in-suspend': True, 'regulator-suspend-microvolt': [[1200000]], 'regulator-changeable-in-suspend': True, 'regulator-mode': [[4]]}, 'regulator-state-mem': {'regulator-on-in-suspend': True, 'regulator-suspend-microvolt': [[1200000]], 'regulator-changeable-in-suspend': True, 'regulator-mode': [[4]]}}, 'BUCK3': {'regulator-name': ['VDD_CORE'], 'regulator-min-microvolt': [[1250000]], 'regulator-max-microvolt': [[1250000]], 'regulator-initial-mode': [[2]], 'regulator-allowed-modes': [[2, 4]], 'regulator-always-on': True, 'p
 handle': [[73]], 'regulator-state-standby': {'regulator-on-in-suspend': True, 'regulator-mode': [[4]]}, 'regulator-state-mem': {'regulator-off-in-suspend': True, 'regulator-mode': [[4]]}}, 'BUCK4': {'regulator-name': ['VDD_OTHER'], 'regulator-min-microvolt': [[1800000]], 'regulator-max-microvolt': [[1800000]], 'regulator-initial-mode': [[2]], 'regulator-allowed-modes': [[2, 4]], 'regulator-always-on': True, 'phandle': [[74]], 'regulator-state-standby': {'regulator-on-in-suspend': True, 'regulator-suspend-microvolt': [[1800000]], 'regulator-changeable-in-suspend': True, 'regulator-mode': [[4]]}, 'regulator-state-mem': {'regulator-on-in-suspend': True, 'regulator-suspend-microvolt': [[1800000]], 'regulator-changeable-in-suspend': True, 'regulator-mode': [[4]]}}, 'LDO1': {'regulator-name': ['LDO1'], 'regulator-min-microvolt': [[2500000]], 'regulator-max-microvolt': [[2500000]], 'regulator-always-on': True, 'regulator-state-standby': {'regulator-on-in-suspend': True}, 'regulator-state-m
 em': {'regulator-off-in-suspend': True}}, 'LDO2': {'regulator-name': ['LDO2'], 'regulator-min-microvolt': [[3300000]], 'regulator-max-microvolt': [[3300000]], 'regulator-always-on': True, 'regulator-state-standby': {'regulator-on-in-suspend': True}, 'regulator-state-mem': {'regulator-off-in-suspend': True}}}}}, 'pwm@f802c000': {'compatible': ['atmel,sama5d2-pwm'], 'reg': [[4160929792, 16384]], 'interrupts': [[38, 4, 7]], '#pwm-cells': [[3]], 'clocks': [[3, 2, 38]], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[25, 26]], 'phandle': [[75]]}, 'sfr@f8030000': {'compatible': ['atmel,sama5d2-sfr', 'syscon'], 'reg': [[4160946176, 152]], 'phandle': [[76]]}, 'flexcom@f8034000': {'compatible': ['atmel,sama5d2-flexcom'], 'reg': [[4160962560, 512]], 'clocks': [[3, 2, 19]], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': [[0, 4160962560, 2048]], 'status': ['disabled'], 'phandle': [[77]], 'serial@200': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[512, 512]], 'a
 tmel,usart-mode': [[0]], 'interrupts': [[19, 4, 7]], 'clocks': [[3, 2, 19]], 'clock-names': ['usart'], 'dmas': [[19, 184565760], [19, 201342976]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[32]], 'status': ['disabled'], 'phandle': [[78]]}, 'spi@400': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[1024, 512]], 'interrupts': [[19, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 19]], 'clock-names': ['spi_clk'], 'dmas': [[19, 184565760], [19, 201342976]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[79]]}, 'i2c@600': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[1536, 512]], 'interrupts': [[19, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 19]], 'dmas': [[19, 184565760], [19, 201342976]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[80]]}}, 'flexcom@f8038000': {'compatible': ['atmel,sama5d2-flexcom'], 'reg': [[4160978944, 512]], 'clock
 s': [[3, 2, 20]], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': [[0, 4160978944, 2048]], 'status': ['okay'], 'atmel,flexcom-mode': [[1]], 'phandle': [[81]], 'serial@200': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[512, 512]], 'atmel,usart-mode': [[0]], 'interrupts': [[20, 4, 7]], 'clocks': [[3, 2, 20]], 'clock-names': ['usart'], 'dmas': [[19, 218120192], [19, 234897408]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[32]], 'status': ['okay'], 'pinctrl-0': [[27]], 'pinctrl-names': ['default'], 'atmel,use-dma-rx': True, 'atmel,use-dma-tx': True, 'phandle': [[82]]}, 'spi@400': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[1024, 512]], 'interrupts': [[20, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 20]], 'clock-names': ['spi_clk'], 'dmas': [[19, 218120192], [19, 234897408]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[83]]}, 'i2c@600': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[153
 6, 512]], 'interrupts': [[20, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 20]], 'dmas': [[19, 218120192], [19, 234897408]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[84]]}}, 'sram@f8044000': {'compatible': ['atmel,sama5d2-securam', 'mmio-sram'], 'reg': [[4161028096, 5152]], 'clocks': [[3, 2, 51]], '#address-cells': [[1]], '#size-cells': [[1]], 'no-memory-wc': True, 'ranges': [[0, 4161028096, 5152]], 'phandle': [[85]]}, 'reset-controller@f8048000': {'compatible': ['atmel,sama5d3-rstc'], 'reg': [[4161044480, 16]], 'clocks': [[16]], 'phandle': [[86]]}, 'poweroff@f8048010': {'compatible': ['atmel,sama5d2-shdwc'], 'reg': [[4161044496, 16]], 'clocks': [[16]], '#address-cells': [[1]], '#size-cells': [[0]], 'atmel,wakeup-rtc-timer': True, 'debounce-delay-us': [[976]], 'phandle': [[87]], 'input@0': {'reg': [[0]]}}, 'timer@f8048030': {'compatible': ['atmel,at91sam9260-pit'], 'reg': [[4161044528, 16]], 'interrupts': 
 [[3, 4, 5]], 'clocks': [[3, 0, 4]], 'phandle': [[88]]}, 'watchdog@f8048040': {'compatible': ['atmel,sama5d4-wdt'], 'reg': [[4161044544, 16]], 'interrupts': [[4, 4, 7]], 'clocks': [[16]], 'status': ['okay'], 'phandle': [[89]]}, 'clock-controller@f8048050': {'compatible': ['atmel,sama5d4-sckc'], 'reg': [[4161044560, 4]], 'clocks': [[28]], '#clock-cells': [[0]], 'phandle': [[16]]}, 'rtc@f80480b0': {'compatible': ['atmel,sama5d2-rtc'], 'reg': [[4161044656, 48]], 'interrupts': [[74, 4, 7]], 'clocks': [[16]], 'phandle': [[90]]}, 'i2s@f8050000': {'compatible': ['atmel,sama5d2-i2s'], 'reg': [[4161077248, 256]], 'interrupts': [[54, 4, 7]], 'dmas': [[19, 520110080], [19, 536887296]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 54], [3, 3, 54]], 'clock-names': ['pclk', 'gclk'], 'assigned-clocks': [[3, 0, 5]], 'assigned-clock-parents': [[3, 3, 54]], 'status': ['disabled'], 'phandle': [[91]]}, 'can@f8054000': {'compatible': ['bosch,m_can'], 'reg': [[4161093632, 16384], [2162688, 7168]], 'reg-na
 mes': ['m_can', 'message_ram'], 'interrupts': [[56, 4, 7], [64, 4, 7]], 'interrupt-names': ['int0', 'int1'], 'clocks': [[3, 2, 56], [3, 3, 56]], 'clock-names': ['hclk', 'cclk'], 'assigned-clocks': [[3, 3, 56]], 'assigned-clock-parents': [[3, 0, 2]], 'assigned-clock-rates': [[40000000]], 'bosch,mram-cfg': [[0, 0, 0, 64, 0, 0, 32, 32]], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[29]], 'phandle': [[92]]}, 'spi@fc000000': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[4227858432, 256]], 'interrupts': [[34, 4, 7]], 'dmas': [[19, 134234112], [19, 151011328]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 34]], 'clock-names': ['spi_clk'], 'atmel,fifo-size': [[16]], '#address-cells': [[1]], '#size-cells': [[0]], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[30]], 'phandle': [[93]]}, 'serial@fc008000': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[4227891200, 256]], 'atmel,usart-mode': [[0]], 'interrupts': [[27, 4, 7]], 'dmas': [[31, 68788224
 0], [31, 704659456]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 27]], 'clock-names': ['usart'], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[32]], 'atmel,use-dma-rx': True, 'atmel,use-dma-tx': True, 'phandle': [[94]]}, 'serial@fc00c000': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[4227907584, 256]], 'atmel,usart-mode': [[0]], 'dmas': [[19, 721436672], [19, 738213888]], 'dma-names': ['tx', 'rx'], 'interrupts': [[28, 4, 7]], 'clocks': [[3, 2, 28]], 'clock-names': ['usart'], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[33]], 'atmel,use-dma-rx': True, 'atmel,use-dma-tx': True, 'phandle': [[95]]}, 'flexcom@fc010000': {'compatible': ['atmel,sama5d2-flexcom'], 'reg': [[4227923968, 512]], 'clocks': [[3, 2, 21]], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': [[0, 4227923968, 2048]], 'status': ['disabled'], 'phandle': [[96]], 'serial@200': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[512, 512]], 'atmel,usart-mode': [[0]], 
 'interrupts': [[21, 4, 7]], 'clocks': [[3, 2, 21]], 'clock-names': ['usart'], 'dmas': [[19, 251674624], [19, 268451840]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[32]], 'status': ['disabled'], 'phandle': [[97]]}, 'spi@400': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[1024, 512]], 'interrupts': [[21, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 21]], 'clock-names': ['spi_clk'], 'dmas': [[19, 251674624], [19, 268451840]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[98]]}, 'i2c@600': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[1536, 512]], 'interrupts': [[21, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 21]], 'dmas': [[19, 251674624], [19, 268451840]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[99]]}}, 'flexcom@fc014000': {'compatible': ['atmel,sama5d2-flexcom'], 'reg': [[4227940352, 512]], 'clocks': [[3, 2, 22]], '#addre
 ss-cells': [[1]], '#size-cells': [[1]], 'ranges': [[0, 4227940352, 2048]], 'status': ['disabled'], 'phandle': [[100]], 'serial@200': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[512, 512]], 'atmel,usart-mode': [[0]], 'interrupts': [[22, 4, 7]], 'clocks': [[3, 2, 22]], 'clock-names': ['usart'], 'dmas': [[19, 285229056], [19, 302006272]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[32]], 'status': ['disabled'], 'phandle': [[101]]}, 'spi@400': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[1024, 512]], 'interrupts': [[22, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 22]], 'clock-names': ['spi_clk'], 'dmas': [[19, 285229056], [19, 302006272]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[102]]}, 'i2c@600': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[1536, 512]], 'interrupts': [[22, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 22]], 'dmas': [[19, 285229056], [19, 302006
 272]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[103]]}}, 'flexcom@fc018000': {'compatible': ['atmel,sama5d2-flexcom'], 'reg': [[4227956736, 512]], 'clocks': [[3, 2, 23]], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': [[0, 4227956736, 2048]], 'status': ['okay'], 'atmel,flexcom-mode': [[2]], 'phandle': [[104]], 'serial@200': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[512, 512]], 'atmel,usart-mode': [[0]], 'interrupts': [[23, 4, 7]], 'clocks': [[3, 2, 23]], 'clock-names': ['usart'], 'dmas': [[19, 318783488], [19, 335560704]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[32]], 'status': ['disabled'], 'phandle': [[105]]}, 'spi@400': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[1024, 512]], 'interrupts': [[23, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 23]], 'clock-names': ['spi_clk'], 'dmas': [[0], [0]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['okay'], 'pi
 nctrl-names': ['default'], 'pinctrl-0': [[34]], 'phandle': [[106]]}, 'i2c@600': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[1536, 512]], 'interrupts': [[23, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 23]], 'dmas': [[19, 318783488], [19, 335560704]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[107]]}}, 'trng@fc01c000': {'compatible': ['atmel,at91sam9g45-trng'], 'reg': [[4227973120, 256]], 'interrupts': [[47, 4, 0]], 'clocks': [[3, 2, 47]]}, 'interrupt-controller@fc020000': {'#interrupt-cells': [[3]], 'compatible': ['atmel,sama5d2-aic'], 'interrupt-controller': True, 'reg': [[4227989504, 512]], 'atmel,external-irqs': [[49]], 'phandle': [[1]]}, 'i2c@fc028000': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[4228022272, 256]], 'interrupts': [[30, 4, 7]], 'dmas': [[0], [0]], 'dma-names': ['tx', 'rx'], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 30]], 'atmel,fifo-size': [[16]], 'status': ['
 okay'], 'pinctrl-names': ['default', 'gpio'], 'pinctrl-0': [[35]], 'pinctrl-1': [[36]], 'i2c-analog-filter': True, 'i2c-digital-filter': True, 'i2c-digital-filter-width-ns': [[35]], 'sda-gpios': [[7, 100, 0]], 'scl-gpios': [[7, 101, 6]], 'phandle': [[108]]}, 'adc@fc030000': {'compatible': ['atmel,sama5d2-adc'], 'reg': [[4228055040, 256]], 'interrupts': [[40, 4, 7]], 'clocks': [[3, 2, 40]], 'clock-names': ['adc_clk'], 'dmas': [[19, 419446784]], 'dma-names': ['rx'], 'atmel,min-sample-rate-hz': [[200000]], 'atmel,max-sample-rate-hz': [[20000000]], 'atmel,startup-time-ms': [[4]], 'atmel,trigger-edge-type': [[1]], '#io-channel-cells': [[1]], 'status': ['okay'], 'vddana-supply': [[37]], 'vref-supply': [[37]], 'pinctrl-names': ['default'], 'pinctrl-0': [[38, 39]], 'phandle': [[6]]}, 'pinctrl@fc038000': {'compatible': ['atmel,sama5d2-pinctrl'], 'reg': [[4228087808, 1536]], 'interrupts': [[18, 4, 7], [68, 4, 7], [69, 4, 7], [70, 4, 7]], 'interrupt-controller': True, '#interrupt-cells': [[2]]
 , 'gpio-controller': True, '#gpio-cells': [[2]], 'clocks': [[3, 2, 18]], 'phandle': [[7]], 'adc-default': {'pinmux': [[121, 122]], 'bias-disable': True, 'phandle': [[38]]}, 'adtrg-default': {'pinmux': [[1114239]], 'bias-pull-up': True, 'phandle': [[39]]}, 'can0-default': {'pinmux': [[2424906, 2424907]], 'bias-disable': True, 'phandle': [[29]]}, 'can1-default': {'pinmux': [[1310810, 1310811]], 'bias-disable': True, 'phandle': [[40]]}, 'debug-uart': {'pinmux': [[1245242, 1245243]], 'bias-disable': True, 'phandle': [[20]]}, 'flx1-default': {'pinmux': [[1114136, 1114135, 1114137, 1114138]], 'bias-disable': True, 'phandle': [[27]]}, 'i2c0-default': {'pinmux': [[1310783, 1310784]], 'bias-disable': True, 'phandle': [[22]]}, 'i2c0-gpio-default': {'pinmux': [[63, 64]], 'bias-disable': True, 'phandle': [[23]]}, 'i2c1-default': {'pinmux': [[2162788, 2162789]], 'bias-disable': True, 'phandle': [[35]]}, 'i2c1-gpio-default': {'pinmux': [[100, 101]], 'bias-disable': True, 'phandle': [[36]]}, 'key-
 gpio-default': {'pinmux': [[17]], 'bias-pull-up': True, 'phandle': [[41]]}, 'led-gpio-default': {'pinmux': [[7, 8, 9]], 'bias-pull-up': True, 'phandle': [[42]]}, 'mikrobus1-pwm': {'pinmux': [[1310751]], 'bias-disable': True, 'phandle': [[25]]}, 'mikrobus2-pwm': {'pinmux': [[1310752]], 'bias-disable': True, 'phandle': [[26]]}, 'mikrobus1-uart': {'pinmux': [[1114147, 1114148]], 'bias-disable': True, 'phandle': [[33]]}, 'mikrobus2-uart': {'pinmux': [[3342379, 3342380]], 'bias-disable': True, 'phandle': [[32]]}, 'qspi1-default': {'pinmux': [[2359333, 2359334, 2359335, 2359336, 2359337, 2359338]], 'bias-disable': True, 'phandle': [[18]]}, 'rpi-spi': {'pinmux': [[2228332, 2228333, 2228334, 2228335, 2228336]], 'bias-disable': True, 'phandle': [[34]]}, 'rpi-uart': {'pinmux': [[1114210, 1114211]], 'bias-disable': True, 'phandle': [[21]]}, 'sdmmc0-default': {'pinmux': [[1114112, 1114113, 1114114, 1114115, 1114116, 1114117, 1114123, 1114125]], 'bias-disable': True, 'phandle': [[14]]}, 'sdmmc1-
 default': {'pinmux': [[1376274, 1376275, 1376276, 1376277, 1376278, 1376284, 1376286]], 'bias-disable': True, 'phandle': [[15]]}, 'spi1-default': {'pinmux': [[1310785, 1310786, 1310787, 1310788, 1310789, 1310790, 1310791]], 'bias-disable': True, 'phandle': [[30]]}, 'usb-default': {'pinmux': [[6]], 'bias-disable': True, 'phandle': [[9]]}, 'usba-vbus': {'pinmux': [[45]], 'bias-disable': True, 'phandle': [[8]]}}, 'secumod@fc040000': {'compatible': ['atmel,sama5d2-secumod', 'syscon'], 'reg': [[4228120576, 256]], 'gpio-controller': True, '#gpio-cells': [[2]], 'phandle': [[24]]}, 'crypto@fc044000': {'compatible': ['atmel,at91sam9g46-tdes'], 'reg': [[4228136960, 256]], 'interrupts': [[11, 4, 0]], 'dmas': [[19, 469778432], [19, 486555648]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 11]], 'clock-names': ['tdes_clk'], 'phandle': [[109]]}, 'classd@fc048000': {'compatible': ['atmel,sama5d2-classd'], 'reg': [[4228153344, 256]], 'interrupts': [[59, 4, 7]], 'dmas': [[19, 788545536]], 'dma-names
 ': ['tx'], 'clocks': [[3, 2, 59], [3, 3, 59]], 'clock-names': ['pclk', 'gclk'], 'status': ['disabled'], 'phandle': [[110]]}, 'i2s@fc04c000': {'compatible': ['atmel,sama5d2-i2s'], 'reg': [[4228169728, 256]], 'interrupts': [[55, 4, 7]], 'dmas': [[19, 553664512], [19, 570441728]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 55], [3, 3, 55]], 'clock-names': ['pclk', 'gclk'], 'assigned-clocks': [[3, 0, 6]], 'assigned-clock-parents': [[3, 3, 55]], 'status': ['disabled'], 'phandle': [[111]]}, 'can@fc050000': {'compatible': ['bosch,m_can'], 'reg': [[4228186112, 16384], [2162688, 14336]], 'reg-names': ['m_can', 'message_ram'], 'interrupts': [[57, 4, 7], [65, 4, 7]], 'interrupt-names': ['int0', 'int1'], 'clocks': [[3, 2, 57], [3, 3, 57]], 'clock-names': ['hclk', 'cclk'], 'assigned-clocks': [[3, 3, 57]], 'assigned-clock-parents': [[3, 0, 2]], 'assigned-clock-rates': [[40000000]], 'bosch,mram-cfg': [[7168, 0, 0, 64, 0, 0, 32, 32]], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0':
  [[40]], 'phandle': [[112]]}, 'sfr@fc05c000': {'compatible': ['atmel,sama5d2-sfrbu', 'syscon'], 'reg': [[4228235264, 32]], 'phandle': [[113]]}, 'chipid@fc069000': {'compatible': ['atmel,sama5d2-chipid'], 'reg': [[4228288512, 8]]}} should not be valid under {'type': 'object'}
	from schema $id: http://devicetree.org/schemas/simple-bus.yaml#
arch/arm/boot/dts/microchip/at91-sama5d2_icp.dtb: ahb: apb: {'compatible': ['simple-bus'], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': True, 'hlcdc@f0000000': {'compatible': ['atmel,sama5d2-hlcdc'], 'reg': [[4026531840, 8192]], 'interrupts': [[45, 4, 0]], 'clocks': [[3, 2, 45], [3, 1, 3], [15]], 'clock-names': ['periph_clk', 'sys_clk', 'slow_clk'], 'status': ['disabled'], 'phandle': [[58]], 'hlcdc-display-controller': {'compatible': ['atmel,hlcdc-display-controller'], '#address-cells': [[1]], '#size-cells': [[0]], 'port@0': {'#address-cells': [[1]], '#size-cells': [[0]], 'reg': [[0]]}}, 'hlcdc-pwm': {'compatible': ['atmel,hlcdc-pwm'], '#pwm-cells': [[3]], 'phandle': [[59]]}}, 'isc@f0008000': {'compatible': ['atmel,sama5d2-isc'], 'reg': [[4026564608, 16384]], 'interrupts': [[46, 4, 5]], 'clocks': [[3, 2, 46], [3, 1, 18], [3, 3, 46]], 'clock-names': ['hclock', 'iscck', 'gck'], '#clock-cells': [[0]], 'clock-output-names': ['isc-mck'], 'status': ['disabled'], 'phandle': [[60
 ]]}, 'ramc@f000c000': {'compatible': ['atmel,sama5d3-ddramc'], 'reg': [[4026580992, 512]], 'clocks': [[3, 1, 2], [3, 2, 13]], 'clock-names': ['ddrck', 'mpddr'], 'phandle': [[61]]}, 'dma-controller@f0010000': {'compatible': ['atmel,sama5d4-dma'], 'reg': [[4026597376, 4096]], 'interrupts': [[6, 4, 0]], '#dma-cells': [[1]], 'clocks': [[3, 2, 6]], 'clock-names': ['dma_clk'], 'phandle': [[18]]}, 'dma-controller@f0004000': {'compatible': ['atmel,sama5d4-dma'], 'reg': [[4026548224, 4096]], 'interrupts': [[7, 4, 0]], '#dma-cells': [[1]], 'clocks': [[3, 2, 7]], 'clock-names': ['dma_clk'], 'phandle': [[34]]}, 'clock-controller@f0014000': {'compatible': ['atmel,sama5d2-pmc', 'syscon'], 'reg': [[4026613760, 352]], 'interrupts': [[74, 4, 7]], '#clock-cells': [[2]], 'clocks': [[15], [16]], 'clock-names': ['slow_clk', 'main_xtal'], 'phandle': [[3]]}, 'spi@f0020000': {'compatible': ['atmel,sama5d2-qspi'], 'reg': [[4026662912, 256], [3489660928, 134217728]], 'reg-names': ['qspi_base', 'qspi_mmap'], 
 'interrupts': [[52, 4, 7]], 'clocks': [[3, 2, 52]], 'clock-names': ['pclk'], '#address-cells': [[1]], '#size-cells': [[0]], 'status': ['disabled'], 'phandle': [[62]]}, 'spi@f0024000': {'compatible': ['atmel,sama5d2-qspi'], 'reg': [[4026679296, 256], [3623878656, 134217728]], 'reg-names': ['qspi_base', 'qspi_mmap'], 'interrupts': [[53, 4, 7]], 'clocks': [[3, 2, 53]], 'clock-names': ['pclk'], '#address-cells': [[1]], '#size-cells': [[0]], 'status': ['disabled'], 'pinctrl-names': ['default'], 'pinctrl-0': [[17]], 'phandle': [[63]], 'flash@0': {'#address-cells': [[1]], '#size-cells': [[1]], 'compatible': ['jedec,spi-nor'], 'reg': [[0]], 'spi-max-frequency': [[104000000]], 'spi-cs-setup-ns': [[7]], 'spi-tx-bus-width': [[4]], 'spi-rx-bus-width': [[4]], 'm25p,fast-read': True, 'at91bootstrap@0': {'label': ['qspi: at91bootstrap'], 'reg': [[0, 262144]]}, 'bootloader@40000': {'label': ['qspi: bootloader'], 'reg': [[262144, 786432]]}, 'bootloaderenvred@100000': {'label': ['qspi: bootloader env
  redundant'], 'reg': [[1048576, 262144]]}, 'bootloaderenv@140000': {'label': ['qspi: bootloader env'], 'reg': [[1310720, 262144]]}, 'dtb@180000': {'label': ['qspi: device tree'], 'reg': [[1572864, 524288]]}, 'kernel@200000': {'label': ['qspi: kernel'], 'reg': [[2097152, 6291456]]}}}, 'crypto@f0028000': {'compatible': ['atmel,at91sam9g46-sha'], 'reg': [[4026695680, 256]], 'interrupts': [[12, 4, 0]], 'dmas': [[18, 503332864]], 'dma-names': ['tx'], 'clocks': [[3, 2, 12]], 'clock-names': ['sha_clk'], 'phandle': [[64]]}, 'crypto@f002c000': {'compatible': ['atmel,at91sam9g46-aes'], 'reg': [[4026712064, 256]], 'interrupts': [[9, 4, 0]], 'dmas': [[18, 436224000], [18, 453001216]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 9]], 'clock-names': ['aes_clk'], 'phandle': [[65]]}, 'spi@f8000000': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[4160749568, 256]], 'interrupts': [[33, 4, 7]], 'dmas': [[18, 100679680], [18, 117456896]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 33]], 'clock-na
 mes': ['spi_clk'], 'atmel,fifo-size': [[16]], '#address-cells': [[1]], '#size-cells': [[0]], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[19, 20]], 'phandle': [[66]]}, 'ssc@f8004000': {'compatible': ['atmel,at91sam9g45-ssc'], 'reg': [[4160765952, 16384]], 'interrupts': [[43, 4, 4]], 'dmas': [[18, 352337920], [18, 369115136]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 43]], 'clock-names': ['pclk'], 'status': ['disabled'], 'phandle': [[67]]}, 'ethernet@f8008000': {'compatible': ['atmel,sama5d2-gem'], 'reg': [[4160782336, 4096]], 'interrupts': [[5, 4, 3], [66, 4, 3], [67, 4, 3]], 'clocks': [[3, 2, 5], [3, 2, 5]], 'clock-names': ['hclk', 'pclk'], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[21, 22, 23]], 'phy-mode': ['mii'], 'phandle': [[31]], 'fixed-link': {'speed': [[100]], 'full-duplex': True}}, 'timer@f800c000': {'compatible': ['atmel,sama5d2-tcb', 'simple-mfd', 'syscon'], '#address-cells': [[1]], '#size-cells': [[0]], 'reg': [[4160798720, 
 256]], 'interrupts': [[35, 4, 0]], 'clocks': [[3, 2, 35], [3, 3, 35], [15]], 'clock-names': ['t0_clk', 'gclk', 'slow_clk'], 'phandle': [[68]], 'timer@0': {'compatible': ['atmel,tcb-timer'], 'reg': [[0]], 'phandle': [[69]]}, 'timer@1': {'compatible': ['atmel,tcb-timer'], 'reg': [[1]], 'phandle': [[70]]}}, 'timer@f8010000': {'compatible': ['atmel,sama5d2-tcb', 'simple-mfd', 'syscon'], '#address-cells': [[1]], '#size-cells': [[0]], 'reg': [[4160815104, 256]], 'interrupts': [[36, 4, 0]], 'clocks': [[3, 2, 36], [3, 3, 36], [15]], 'clock-names': ['t0_clk', 'gclk', 'slow_clk'], 'phandle': [[71]]}, 'hsmc@f8014000': {'compatible': ['atmel,sama5d2-smc', 'syscon', 'simple-mfd'], 'reg': [[4160831488, 4096]], 'interrupts': [[17, 4, 6]], 'clocks': [[3, 2, 17]], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': True, 'phandle': [[10]], 'ecc-engine@f8014070': {'compatible': ['atmel,sama5d2-pmecc'], 'reg': [[4160831600, 1168], [4160832768, 512]], 'phandle': [[13]]}}, 'pdmic@f8018000': {'compa
 tible': ['atmel,sama5d2-pdmic'], 'reg': [[4160847872, 292]], 'interrupts': [[48, 4, 7]], 'dmas': [[18, 838877184]], 'dma-names': ['rx'], 'clocks': [[3, 2, 48], [3, 3, 48]], 'clock-names': ['pclk', 'gclk'], 'status': ['disabled'], 'phandle': [[72]]}, 'serial@f801c000': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[4160864256, 256]], 'atmel,usart-mode': [[0]], 'interrupts': [[24, 4, 7]], 'dmas': [[18, 587218944], [18, 603996160]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 24]], 'clock-names': ['usart'], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[24]], 'atmel,use-dma-rx': True, 'atmel,use-dma-tx': True, 'phandle': [[73]]}, 'serial@f8020000': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[4160880640, 256]], 'atmel,usart-mode': [[0]], 'interrupts': [[25, 4, 7]], 'dmas': [[18, 620773376], [18, 637550592]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 25]], 'clock-names': ['usart'], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[25]],
  'atmel,use-dma-rx': True, 'atmel,use-dma-tx': True, 'phandle': [[74]]}, 'serial@f8024000': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[4160897024, 256]], 'atmel,usart-mode': [[0]], 'interrupts': [[26, 4, 7]], 'dmas': [[18, 654327808], [18, 671105024]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 26]], 'clock-names': ['usart'], 'status': ['disabled'], 'phandle': [[75]]}, 'i2c@f8028000': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[4160913408, 256]], 'interrupts': [[29, 4, 7]], 'dmas': [[18, 16384], [18, 16793600]], 'dma-names': ['tx', 'rx'], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 29]], 'atmel,fifo-size': [[16]], 'status': ['okay'], 'pinctrl-names': ['default', 'gpio'], 'pinctrl-0': [[26]], 'pinctrl-1': [[27]], 'sda-gpios': [[7, 117, 0]], 'scl-gpios': [[7, 118, 6]], 'i2c-digital-filter': True, 'i2c-digital-filter-width-ns': [[35]], 'phandle': [[76]]}, 'pwm@f802c000': {'compatible': ['atmel,sama5d2-pwm'], 'reg': [[4160929792, 16384]], 'interrupts'
 : [[38, 4, 7]], '#pwm-cells': [[3]], 'clocks': [[3, 2, 38]], 'status': ['disabled'], 'pinctrl-names': ['default'], 'pinctrl-0': [[28]], 'phandle': [[77]]}, 'sfr@f8030000': {'compatible': ['atmel,sama5d2-sfr', 'syscon'], 'reg': [[4160946176, 152]], 'phandle': [[78]]}, 'flexcom@f8034000': {'compatible': ['atmel,sama5d2-flexcom'], 'reg': [[4160962560, 512]], 'clocks': [[3, 2, 19]], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': [[0, 4160962560, 2048]], 'status': ['okay'], 'atmel,flexcom-mode': [[2]], 'phandle': [[79]], 'serial@200': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[512, 512]], 'atmel,usart-mode': [[0]], 'interrupts': [[19, 4, 7]], 'clocks': [[3, 2, 19]], 'clock-names': ['usart'], 'dmas': [[18, 184565760], [18, 201342976]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[32]], 'status': ['disabled'], 'phandle': [[80]]}, 'spi@400': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[1024, 512]], 'interrupts': [[19, 4, 7]], '#address-cells': [[1]], '#size-cells
 ': [[0]], 'clocks': [[3, 2, 19]], 'clock-names': ['spi_clk'], 'dmas': [[0], [0]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['okay'], 'cs-gpios': [[7, 64, 1]], 'pinctrl-names': ['default'], 'pinctrl-0': [[29, 30]], 'phandle': [[81]], 'ksz8563@0': {'compatible': ['microchip,ksz8563'], 'reg': [[0]], 'reset-gpios': [[7, 100, 1]], 'spi-max-frequency': [[500000]], 'spi-cpha': True, 'spi-cpol': True, 'phandle': [[82]], 'ports': {'#address-cells': [[1]], '#size-cells': [[0]], 'port@0': {'reg': [[0]], 'label': ['lan1']}, 'port@1': {'reg': [[1]], 'label': ['lan2']}, 'port@2': {'reg': [[2]], 'label': ['cpu'], 'ethernet': [[31]], 'phy-mode': ['mii'], 'fixed-link': {'speed': [[100]], 'full-duplex': True}}}}}, 'i2c@600': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[1536, 512]], 'interrupts': [[19, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 19]], 'dmas': [[18, 184565760], [18, 201342976]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 
 'status': ['disabled'], 'phandle': [[83]]}}, 'flexcom@f8038000': {'compatible': ['atmel,sama5d2-flexcom'], 'reg': [[4160978944, 512]], 'clocks': [[3, 2, 20]], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': [[0, 4160978944, 2048]], 'status': ['disabled'], 'phandle': [[84]], 'serial@200': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[512, 512]], 'atmel,usart-mode': [[0]], 'interrupts': [[20, 4, 7]], 'clocks': [[3, 2, 20]], 'clock-names': ['usart'], 'dmas': [[18, 218120192], [18, 234897408]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[32]], 'status': ['disabled'], 'phandle': [[85]]}, 'spi@400': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[1024, 512]], 'interrupts': [[20, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 20]], 'clock-names': ['spi_clk'], 'dmas': [[18, 218120192], [18, 234897408]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[86]]}, 'i2c@600': {'compatible': ['atmel,sama5d2-i2
 c'], 'reg': [[1536, 512]], 'interrupts': [[20, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 20]], 'dmas': [[18, 218120192], [18, 234897408]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[87]]}}, 'sram@f8044000': {'compatible': ['atmel,sama5d2-securam', 'mmio-sram'], 'reg': [[4161028096, 5152]], 'clocks': [[3, 2, 51]], '#address-cells': [[1]], '#size-cells': [[1]], 'no-memory-wc': True, 'ranges': [[0, 4161028096, 5152]], 'phandle': [[88]]}, 'reset-controller@f8048000': {'compatible': ['atmel,sama5d3-rstc'], 'reg': [[4161044480, 16]], 'clocks': [[15]], 'phandle': [[89]]}, 'poweroff@f8048010': {'compatible': ['atmel,sama5d2-shdwc'], 'reg': [[4161044496, 16]], 'clocks': [[15]], '#address-cells': [[1]], '#size-cells': [[0]], 'atmel,wakeup-rtc-timer': True, 'debounce-delay-us': [[976]], 'phandle': [[90]], 'input@0': {'reg': [[0]]}}, 'timer@f8048030': {'compatible': ['atmel,at91sam9260-pit'], 'reg': [[4161044528, 16]
 ], 'interrupts': [[3, 4, 5]], 'clocks': [[3, 0, 4]], 'phandle': [[91]]}, 'watchdog@f8048040': {'compatible': ['atmel,sama5d4-wdt'], 'reg': [[4161044544, 16]], 'interrupts': [[4, 4, 7]], 'clocks': [[15]], 'status': ['okay'], 'phandle': [[92]]}, 'clock-controller@f8048050': {'compatible': ['atmel,sama5d4-sckc'], 'reg': [[4161044560, 4]], 'clocks': [[32]], '#clock-cells': [[0]], 'phandle': [[15]]}, 'rtc@f80480b0': {'compatible': ['atmel,sama5d2-rtc'], 'reg': [[4161044656, 48]], 'interrupts': [[74, 4, 7]], 'clocks': [[15]], 'phandle': [[93]]}, 'i2s@f8050000': {'compatible': ['atmel,sama5d2-i2s'], 'reg': [[4161077248, 256]], 'interrupts': [[54, 4, 7]], 'dmas': [[18, 520110080], [18, 536887296]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 54], [3, 3, 54]], 'clock-names': ['pclk', 'gclk'], 'assigned-clocks': [[3, 0, 5]], 'assigned-clock-parents': [[3, 3, 54]], 'status': ['disabled'], 'phandle': [[94]]}, 'can@f8054000': {'compatible': ['bosch,m_can'], 'reg': [[4161093632, 16384], [2162688
 , 7168]], 'reg-names': ['m_can', 'message_ram'], 'interrupts': [[56, 4, 7], [64, 4, 7]], 'interrupt-names': ['int0', 'int1'], 'clocks': [[3, 2, 56], [3, 3, 56]], 'clock-names': ['hclk', 'cclk'], 'assigned-clocks': [[3, 3, 56]], 'assigned-clock-parents': [[3, 0, 2]], 'assigned-clock-rates': [[40000000]], 'bosch,mram-cfg': [[0, 0, 0, 64, 0, 0, 32, 32]], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[33]], 'phandle': [[95]]}, 'spi@fc000000': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[4227858432, 256]], 'interrupts': [[34, 4, 7]], 'dmas': [[18, 134234112], [18, 151011328]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 34]], 'clock-names': ['spi_clk'], 'atmel,fifo-size': [[16]], '#address-cells': [[1]], '#size-cells': [[0]], 'status': ['disabled'], 'phandle': [[96]]}, 'serial@fc008000': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[4227891200, 256]], 'atmel,usart-mode': [[0]], 'interrupts': [[27, 4, 7]], 'dmas': [[34, 687882240], [34, 704659456]], 'dma-nam
 es': ['tx', 'rx'], 'clocks': [[3, 2, 27]], 'clock-names': ['usart'], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[35]], 'atmel,use-dma-rx': True, 'atmel,use-dma-tx': True, 'phandle': [[97]]}, 'serial@fc00c000': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[4227907584, 256]], 'atmel,usart-mode': [[0]], 'dmas': [[18, 721436672], [18, 738213888]], 'dma-names': ['tx', 'rx'], 'interrupts': [[28, 4, 7]], 'clocks': [[3, 2, 28]], 'clock-names': ['usart'], 'status': ['disabled'], 'phandle': [[98]]}, 'flexcom@fc010000': {'compatible': ['atmel,sama5d2-flexcom'], 'reg': [[4227923968, 512]], 'clocks': [[3, 2, 21]], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': [[0, 4227923968, 2048]], 'status': ['okay'], 'atmel,flexcom-mode': [[1]], 'phandle': [[99]], 'serial@200': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[512, 512]], 'atmel,usart-mode': [[0]], 'interrupts': [[21, 4, 7]], 'clocks': [[3, 2, 21]], 'clock-names': ['usart'], 'dmas': [[18, 251674624], 
 [18, 268451840]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[32]], 'status': ['okay'], 'pinctrl-0': [[36]], 'pinctrl-names': ['default'], 'atmel,use-dma-rx': True, 'atmel,use-dma-tx': True, 'phandle': [[100]]}, 'spi@400': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[1024, 512]], 'interrupts': [[21, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 21]], 'clock-names': ['spi_clk'], 'dmas': [[18, 251674624], [18, 268451840]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[101]]}, 'i2c@600': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[1536, 512]], 'interrupts': [[21, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 21]], 'dmas': [[18, 251674624], [18, 268451840]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[102]]}}, 'flexcom@fc014000': {'compatible': ['atmel,sama5d2-flexcom'], 'reg': [[4227940352, 512]], 'clocks': [[3, 2, 22]], '#address
 -cells': [[1]], '#size-cells': [[1]], 'ranges': [[0, 4227940352, 2048]], 'status': ['okay'], 'atmel,flexcom-mode': [[2]], 'phandle': [[103]], 'serial@200': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[512, 512]], 'atmel,usart-mode': [[0]], 'interrupts': [[22, 4, 7]], 'clocks': [[3, 2, 22]], 'clock-names': ['usart'], 'dmas': [[18, 285229056], [18, 302006272]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[32]], 'status': ['disabled'], 'phandle': [[104]]}, 'spi@400': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[1024, 512]], 'interrupts': [[22, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 22]], 'clock-names': ['spi_clk'], 'dmas': [[0], [0]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[37, 38]], 'phandle': [[105]]}, 'i2c@600': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[1536, 512]], 'interrupts': [[22, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [
 [3, 2, 22]], 'dmas': [[18, 285229056], [18, 302006272]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[106]]}}, 'flexcom@fc018000': {'compatible': ['atmel,sama5d2-flexcom'], 'reg': [[4227956736, 512]], 'clocks': [[3, 2, 23]], '#address-cells': [[1]], '#size-cells': [[1]], 'ranges': [[0, 4227956736, 2048]], 'status': ['okay'], 'atmel,flexcom-mode': [[3]], 'phandle': [[107]], 'serial@200': {'compatible': ['atmel,at91sam9260-usart'], 'reg': [[512, 512]], 'atmel,usart-mode': [[0]], 'interrupts': [[23, 4, 7]], 'clocks': [[3, 2, 23]], 'clock-names': ['usart'], 'dmas': [[18, 318783488], [18, 335560704]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[32]], 'status': ['disabled'], 'phandle': [[108]]}, 'spi@400': {'compatible': ['atmel,at91rm9200-spi'], 'reg': [[1024, 512]], 'interrupts': [[23, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 23]], 'clock-names': ['spi_clk'], 'dmas': [[18, 318783488], [18, 335560704]], 'dm
 a-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['disabled'], 'phandle': [[109]]}, 'i2c@600': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[1536, 512]], 'interrupts': [[23, 4, 7]], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 23]], 'dmas': [[0], [0]], 'dma-names': ['tx', 'rx'], 'atmel,fifo-size': [[16]], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[39]], 'i2c-digital-filter': True, 'i2c-digital-filter-width-ns': [[35]], 'phandle': [[110]], 'mcp16502@5b': {'compatible': ['microchip,mcp16502'], 'reg': [[91]], 'status': ['okay'], 'lpm-gpios': [[40, 7, 1]], 'regulators': {'BUCK1': {'regulator-name': ['VDD_IO'], 'regulator-min-microvolt': [[3300000]], 'regulator-max-microvolt': [[3300000]], 'regulator-initial-mode': [[2]], 'regulator-allowed-modes': [[2, 4]], 'regulator-always-on': True, 'phandle': [[43]], 'regulator-state-standby': {'regulator-on-in-suspend': True, 'regulator-mode': [[4]]}, 'regulator-state-mem': {'regulator-off-in-s
 uspend': True, 'regulator-mode': [[4]]}}, 'BUCK2': {'regulator-name': ['VDD_DDR'], 'regulator-min-microvolt': [[1350000]], 'regulator-max-microvolt': [[1350000]], 'regulator-initial-mode': [[2]], 'regulator-allowed-modes': [[2, 4]], 'regulator-always-on': True, 'regulator-state-standby': {'regulator-on-in-suspend': True, 'regulator-mode': [[4]]}, 'regulator-state-mem': {'regulator-on-in-suspend': True, 'regulator-mode': [[4]]}}, 'BUCK3': {'regulator-name': ['VDD_CORE'], 'regulator-min-microvolt': [[1250000]], 'regulator-max-microvolt': [[1250000]], 'regulator-initial-mode': [[2]], 'regulator-allowed-modes': [[2, 4]], 'regulator-always-on': True, 'regulator-state-standby': {'regulator-on-in-suspend': True, 'regulator-mode': [[4]]}, 'regulator-state-mem': {'regulator-off-in-suspend': True, 'regulator-mode': [[4]]}}, 'BUCK4': {'regulator-name': ['VDD_OTHER'], 'regulator-min-microvolt': [[600000]], 'regulator-max-microvolt': [[1850000]], 'regulator-initial-mode': [[2]], 'regulator-allow
 ed-modes': [[2, 4]], 'regulator-state-standby': {'regulator-on-in-suspend': True, 'regulator-mode': [[4]]}, 'regulator-state-mem': {'regulator-off-in-suspend': True, 'regulator-mode': [[4]]}}, 'LDO1': {'regulator-name': ['LDO1'], 'regulator-min-microvolt': [[2500000]], 'regulator-max-microvolt': [[2500000]], 'regulator-always-on': True, 'regulator-state-standby': {'regulator-on-in-suspend': True}, 'regulator-state-mem': {'regulator-off-in-suspend': True}}, 'LDO2': {'regulator-name': ['LDO2'], 'regulator-min-microvolt': [[3300000]], 'regulator-max-microvolt': [[3300000]], 'regulator-always-on': True, 'regulator-state-standby': {'regulator-on-in-suspend': True}, 'regulator-state-mem': {'regulator-off-in-suspend': True}}}}}}, 'trng@fc01c000': {'compatible': ['atmel,at91sam9g45-trng'], 'reg': [[4227973120, 256]], 'interrupts': [[47, 4, 0]], 'clocks': [[3, 2, 47]]}, 'interrupt-controller@fc020000': {'#interrupt-cells': [[3]], 'compatible': ['atmel,sama5d2-aic'], 'interrupt-controller': T
 rue, 'reg': [[4227989504, 512]], 'atmel,external-irqs': [[49]], 'phandle': [[1]]}, 'i2c@fc028000': {'compatible': ['atmel,sama5d2-i2c'], 'reg': [[4228022272, 256]], 'interrupts': [[30, 4, 7]], 'dmas': [[0], [0]], 'dma-names': ['tx', 'rx'], '#address-cells': [[1]], '#size-cells': [[0]], 'clocks': [[3, 2, 30]], 'atmel,fifo-size': [[16]], 'status': ['okay'], 'pinctrl-names': ['default', 'gpio'], 'pinctrl-0': [[41]], 'pinctrl-1': [[42]], 'sda-gpios': [[7, 115, 0]], 'scl-gpios': [[7, 116, 6]], 'i2c-digital-filter': True, 'i2c-digital-filter-width-ns': [[35]], 'phandle': [[111]], 'eeprom@50': {'compatible': ['atmel,24c02'], 'reg': [[80]], 'pagesize': [[16]], 'status': ['okay']}, 'eeprom@52': {'compatible': ['atmel,24c02'], 'reg': [[82]], 'pagesize': [[16]], 'status': ['disabled']}, 'eeprom@53': {'compatible': ['atmel,24c02'], 'reg': [[83]], 'pagesize': [[16]], 'status': ['disabled']}}, 'adc@fc030000': {'compatible': ['atmel,sama5d2-adc'], 'reg': [[4228055040, 256]], 'interrupts': [[40, 4,
  7]], 'clocks': [[3, 2, 40]], 'clock-names': ['adc_clk'], 'dmas': [[18, 419446784]], 'dma-names': ['rx'], 'atmel,min-sample-rate-hz': [[200000]], 'atmel,max-sample-rate-hz': [[20000000]], 'atmel,startup-time-ms': [[4]], 'atmel,trigger-edge-type': [[1]], '#io-channel-cells': [[1]], 'status': ['okay'], 'vddana-supply': [[43]], 'vref-supply': [[43]], 'pinctrl-names': ['default'], 'pinctrl-0': [[44, 45]], 'phandle': [[6]]}, 'pinctrl@fc038000': {'compatible': ['atmel,sama5d2-pinctrl'], 'reg': [[4228087808, 1536]], 'interrupts': [[18, 4, 7], [68, 4, 7], [69, 4, 7], [70, 4, 7]], 'interrupt-controller': True, '#interrupt-cells': [[2]], 'gpio-controller': True, '#gpio-cells': [[2]], 'clocks': [[3, 2, 18]], 'phandle': [[7]], 'adc_default': {'pinmux': [[120, 121, 122]], 'bias-disable': True, 'phandle': [[44]]}, 'adtrg_default': {'pinmux': [[1114239]], 'bias-pull-up': True, 'phandle': [[45]]}, 'flx4_default': {'pinmux': [[1179740, 1179741]], 'bias-disable': True, 'phandle': [[39]]}, 'can0_defau
 lt': {'pinmux': [[2424906, 2424907]], 'bias-disable': True, 'phandle': [[33]]}, 'can1_default': {'pinmux': [[1310810, 1310811]], 'bias-disable': True, 'phandle': [[46]]}, 'i2c1_default': {'pinmux': [[3276915, 3276916]], 'bias-disable': True, 'phandle': [[41]]}, 'i2c1_gpio': {'pinmux': [[115, 116]], 'bias-disable': True, 'phandle': [[42]]}, 'key_gpio_default': {'pinmux': [[96]], 'bias-pull-up': True, 'phandle': [[47]]}, 'led_gpio_default': {'pinmux': [[32, 33, 31]], 'bias-pull-up': True, 'phandle': [[48]]}, 'qspi1_default': {'pinmux': [[1179654, 1179655, 1179656, 1179657, 1179658, 1179659]], 'bias-disable': True, 'phandle': [[17]]}, 'sdmmc0_default': {'phandle': [[14]], 'cmd_data': {'pinmux': [[1114113, 1114114, 1114115, 1114116, 1114117]], 'bias-disable': True}, 'ck_cd': {'pinmux': [[1114112, 1114125]], 'bias-disable': True}}, 'sdmmc1_default': {'phandle': [[112]], 'cmd_data': {'pinmux': [[1376274, 1376275, 1376276, 1376277]], 'bias-disable': True}, 'ck_cd': {'pinmux': [[1376278, 13
 76284]], 'bias-disable': True}}, 'mikrobus_i2c': {'pinmux': [[4325494, 4325493]], 'bias-disable': True, 'phandle': [[26]]}, 'i2c0_gpio': {'pinmux': [[117, 118]], 'bias-disable': True, 'phandle': [[27]]}, 'mikrobus1_an': {'pinmux': [[122]], 'bias-disable': True, 'phandle': [[113]]}, 'mikrobus1_rst': {'pinmux': [[69]], 'bias-disable': True, 'phandle': [[114]]}, 'mikrobus1_spi_cs': {'pinmux': [[2424917]], 'bias-disable': True, 'phandle': [[38]]}, 'mikrobus1_spi': {'pinmux': [[2424916, 2424915, 2424914]], 'bias-disable': True, 'phandle': [[37]]}, 'mikrobus1_pwm': {'pinmux': [[1245252]], 'bias-disable': True, 'phandle': [[115]]}, 'mikrobus1_int': {'pinmux': [[67]], 'bias-disable': True, 'phandle': [[116]]}, 'mikrobus1_uart': {'pinmux': [[1245242, 1245243]], 'bias-disable': True, 'phandle': [[24]]}, 'mikrobus2_an': {'pinmux': [[121]], 'bias-disable': True, 'phandle': [[117]]}, 'mikrobus2_rst': {'pinmux': [[56]], 'bias-disable': True, 'phandle': [[118]]}, 'mikrobus2_spi_cs': {'pinmux': [[1
 245247]], 'bias-disable': True, 'phandle': [[119]]}, 'mikrobus2_spi': {'pinmux': [[1245244, 1245245, 1245246]], 'bias-disable': True, 'phandle': [[29]]}, 'ksz_spi_cs': {'pinmux': [[64]], 'bias-disable': True, 'phandle': [[30]]}, 'mikrobus2_pwm': {'pinmux': [[2359351]], 'bias-disable': True, 'phandle': [[120]]}, 'mikrobus2_int': {'pinmux': [[54]], 'bias-disable': True, 'phandle': [[121]]}, 'mikrobus2_uart': {'pinmux': [[1310796, 1310797]], 'bias-disable': True, 'phandle': [[35]]}, 'mikrobus3_an': {'pinmux': [[120]], 'bias-disable': True, 'phandle': [[122]]}, 'mikrobus3_rst': {'pinmux': [[53]], 'bias-disable': True, 'phandle': [[123]]}, 'mikrobus3_spi_cs': {'pinmux': [[1114129]], 'bias-disable': True, 'phandle': [[20]]}, 'mikrobus3_spi': {'pinmux': [[1114126, 1114128, 1114127]], 'bias-disable': True, 'phandle': [[19]]}, 'mikrobus3_pwm': {'pinmux': [[2359348]], 'bias-disable': True, 'phandle': [[124]]}, 'mikrobus3_int': {'pinmux': [[50]], 'bias-disable': True, 'phandle': [[125]]}, 'mik
 robus3_uart': {'pinmux': [[2424903, 2424904]], 'bias-disable': True, 'phandle': [[25]]}, 'usb_default': {'pinmux': [[81]], 'bias-disable': True, 'phandle': [[9]]}, 'usba_vbus': {'pinmux': [[119]], 'bias-disable': True, 'phandle': [[8]]}, 'pwm0_pwm2_default': {'pinmux': [[1245221, 1245222]], 'bias-pull-up': True, 'phandle': [[28]]}, 'macb0_default': {'pinmux': [[2359393, 2359394, 2359397, 2359398, 2359399, 2359400, 2359401, 2359402, 2359403, 2359404, 2359405, 2359406, 2359407, 2359408, 2359409, 2359410]], 'bias-disable': True, 'phandle': [[21]]}, 'macb0_phy_irq': {'pinmux': [[99]], 'bias-disable': True, 'phandle': [[22]]}, 'macb0_sw_rst': {'pinmux': [[100]], 'bias-disable': True, 'phandle': [[23]]}, 'flx2_default': {'pinmux': [[1376262, 1376263, 1376265, 1376266]], 'bias-disable': True, 'phandle': [[36]]}}, 'secumod@fc040000': {'compatible': ['atmel,sama5d2-secumod', 'syscon'], 'reg': [[4228120576, 256]], 'gpio-controller': True, '#gpio-cells': [[2]], 'phandle': [[40]]}, 'crypto@fc04
 4000': {'compatible': ['atmel,at91sam9g46-tdes'], 'reg': [[4228136960, 256]], 'interrupts': [[11, 4, 0]], 'dmas': [[18, 469778432], [18, 486555648]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 11]], 'clock-names': ['tdes_clk'], 'phandle': [[126]]}, 'classd@fc048000': {'compatible': ['atmel,sama5d2-classd'], 'reg': [[4228153344, 256]], 'interrupts': [[59, 4, 7]], 'dmas': [[18, 788545536]], 'dma-names': ['tx'], 'clocks': [[3, 2, 59], [3, 3, 59]], 'clock-names': ['pclk', 'gclk'], 'status': ['disabled'], 'phandle': [[127]]}, 'i2s@fc04c000': {'compatible': ['atmel,sama5d2-i2s'], 'reg': [[4228169728, 256]], 'interrupts': [[55, 4, 7]], 'dmas': [[18, 553664512], [18, 570441728]], 'dma-names': ['tx', 'rx'], 'clocks': [[3, 2, 55], [3, 3, 55]], 'clock-names': ['pclk', 'gclk'], 'assigned-clocks': [[3, 0, 6]], 'assigned-clock-parents': [[3, 3, 55]], 'status': ['disabled'], 'phandle': [[128]]}, 'can@fc050000': {'compatible': ['bosch,m_can'], 'reg': [[4228186112, 16384], [2162688, 14336]], 'reg-
 names': ['m_can', 'message_ram'], 'interrupts': [[57, 4, 7], [65, 4, 7]], 'interrupt-names': ['int0', 'int1'], 'clocks': [[3, 2, 57], [3, 3, 57]], 'clock-names': ['hclk', 'cclk'], 'assigned-clocks': [[3, 3, 57]], 'assigned-clock-parents': [[3, 0, 2]], 'assigned-clock-rates': [[40000000]], 'bosch,mram-cfg': [[7168, 0, 0, 64, 0, 0, 32, 32]], 'status': ['okay'], 'pinctrl-names': ['default'], 'pinctrl-0': [[46]], 'phandle': [[129]]}, 'sfr@fc05c000': {'compatible': ['atmel,sama5d2-sfrbu', 'syscon'], 'reg': [[4228235264, 32]], 'phandle': [[130]]}, 'chipid@fc069000': {'compatible': ['atmel,sama5d2-chipid'], 'reg': [[4228288512, 8]]}} should not be valid under {'type': 'object'}
	from schema $id: http://devicetree.org/schemas/simple-bus.yaml#
arch/arm/boot/dts/microchip/at91-sama7g5ek.dtb: mcp16502@5b: regulators:BUCK3:regulator-state-standby: 'regulator-suspend-voltage' does not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/regulator/microchip,mcp16502.yaml#
arch/arm/boot/dts/microchip/at91-sama7g5ek.dtb: mcp16502@5b: regulators:BUCK4:regulator-state-standby: 'regulator-suspend-voltage' does not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/regulator/microchip,mcp16502.yaml#
arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dtb: pmic@5b: regulators:BUCK3:regulator-state-standby: 'regulator-suspend-voltage' does not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/regulator/microchip,mcp16502.yaml#
arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dtb: pmic@5b: regulators:BUCK4:regulator-state-standby: 'regulator-suspend-voltage' does not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/regulator/microchip,mcp16502.yaml#






_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 7/7] regulator: mcp16502: Update the names from buck regulators
  2024-03-27 10:17 ` [PATCH 7/7] regulator: mcp16502: Update the " Mihai Sain
@ 2024-03-27 16:28   ` Conor Dooley
  2024-03-28 13:45     ` Mark Brown
  0 siblings, 1 reply; 11+ messages in thread
From: Conor Dooley @ 2024-03-27 16:28 UTC (permalink / raw)
  To: Mihai Sain
  Cc: robh, conor+dt, lgirdwood, linux-kernel, alexandre.belloni,
	devicetree, broonie, krzysztof.kozlowski+dt, claudiu.beznea,
	andrei.simion, linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 2047 bytes --]

On Wed, Mar 27, 2024 at 12:17:24PM +0200, Mihai Sain wrote:
> Use generic names for buck regulators to avoid any confusion.
> Update the names from buck regulators in order to match
> the datasheet block diagram for the buck regulators.
> 
> Signed-off-by: Mihai Sain <mihai.sain@microchip.com>

I know the regulator core will create dummy regulators when they are not
provided in the devicetree, so I am not 100% on how backwards
compatibility works here.
You'll end up with a bunch of dummies and therefore the regulator-names
and constraints on the regulator will be lost, no?
Can you explain how is this backwards compatible with the old
devicetrees?

Thanks,
Conor.

> ---
>  drivers/regulator/mcp16502.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/regulator/mcp16502.c b/drivers/regulator/mcp16502.c
> index 0c15a19fe83a..d6fc9f1afaef 100644
> --- a/drivers/regulator/mcp16502.c
> +++ b/drivers/regulator/mcp16502.c
> @@ -468,13 +468,13 @@ static const struct linear_range b234_ranges[] = {
>  
>  static const struct regulator_desc mcp16502_desc[] = {
>  	/* MCP16502_REGULATOR(_name, _id, ranges, regulator_ops, ramp_table) */
> -	MCP16502_REGULATOR("VDD_IO", BUCK1, b1l12_ranges, mcp16502_buck_ops,
> +	MCP16502_REGULATOR("BUCK1", BUCK1, b1l12_ranges, mcp16502_buck_ops,
>  			   mcp16502_ramp_b1l12),
> -	MCP16502_REGULATOR("VDD_DDR", BUCK2, b234_ranges, mcp16502_buck_ops,
> +	MCP16502_REGULATOR("BUCK2", BUCK2, b234_ranges, mcp16502_buck_ops,
>  			   mcp16502_ramp_b234),
> -	MCP16502_REGULATOR("VDD_CORE", BUCK3, b234_ranges, mcp16502_buck_ops,
> +	MCP16502_REGULATOR("BUCK3", BUCK3, b234_ranges, mcp16502_buck_ops,
>  			   mcp16502_ramp_b234),
> -	MCP16502_REGULATOR("VDD_OTHER", BUCK4, b234_ranges, mcp16502_buck_ops,
> +	MCP16502_REGULATOR("BUCK4", BUCK4, b234_ranges, mcp16502_buck_ops,
>  			   mcp16502_ramp_b234),
>  	MCP16502_REGULATOR("LDO1", LDO1, b1l12_ranges, mcp16502_ldo_ops,
>  			   mcp16502_ramp_b1l12),
> -- 
> 2.44.0
> 

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 7/7] regulator: mcp16502: Update the names from buck regulators
  2024-03-27 16:28   ` Conor Dooley
@ 2024-03-28 13:45     ` Mark Brown
  0 siblings, 0 replies; 11+ messages in thread
From: Mark Brown @ 2024-03-28 13:45 UTC (permalink / raw)
  To: Conor Dooley
  Cc: robh, conor+dt, lgirdwood, linux-kernel, alexandre.belloni,
	Mihai Sain, devicetree, krzysztof.kozlowski+dt, claudiu.beznea,
	andrei.simion, linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 911 bytes --]

On Wed, Mar 27, 2024 at 04:28:49PM +0000, Conor Dooley wrote:
> On Wed, Mar 27, 2024 at 12:17:24PM +0200, Mihai Sain wrote:

> > Use generic names for buck regulators to avoid any confusion.
> > Update the names from buck regulators in order to match
> > the datasheet block diagram for the buck regulators.

> I know the regulator core will create dummy regulators when they are not
> provided in the devicetree, so I am not 100% on how backwards
> compatibility works here.
> You'll end up with a bunch of dummies and therefore the regulator-names
> and constraints on the regulator will be lost, no?
> Can you explain how is this backwards compatible with the old
> devicetrees?

It quite simply isn't backwards compatible.  The original driver looks
to be pretty broken but this breaks compatibility, we'd need a
transition plan of some kind which probably needs some core work to cope
with fallback names.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-03-28 13:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-27 10:17 [PATCH 0/7] regulator: mcp16502: Update the names from buck regulators Mihai Sain
2024-03-27 10:17 ` [PATCH 1/7] ARM: dts: microchip: sama5d27_wlsom1: Update the node names from pmic-regulators Mihai Sain
2024-03-27 10:17 ` [PATCH 2/7] ARM: dts: microchip: sama5d29_curiosity: " Mihai Sain
2024-03-27 10:17 ` [PATCH 3/7] ARM: dts: microchip: sama5d2_icp: " Mihai Sain
2024-03-27 10:17 ` [PATCH 4/7] ARM: dts: microchip: sama7g54_curiosity: " Mihai Sain
2024-03-27 10:17 ` [PATCH 5/7] ARM: dts: microchip: sama7g5ek: " Mihai Sain
2024-03-27 10:17 ` [PATCH 6/7] regulator: dt-bindings: microchip,mcp16502: Update the node names from buck regulators Mihai Sain
2024-03-27 10:17 ` [PATCH 7/7] regulator: mcp16502: Update the " Mihai Sain
2024-03-27 16:28   ` Conor Dooley
2024-03-28 13:45     ` Mark Brown
2024-03-27 15:41 ` [PATCH 0/7] " Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox