* [PATCH 00/20] Clean up Ux500 and Nomadik device trees
@ 2026-11-26 0:37 Linus Walleij
2026-11-26 0:37 ` [PATCH 01/20] ARM: dts: ux500: Give memory nodes their unit address Linus Walleij
` (19 more replies)
0 siblings, 20 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
Apply a series DTS cleanups.
Helped with an LLM.
In the age of LLMs there is really no excuse to not fix up this stuff.
There are mot patches but they require updated bindings to go in first.
---
Linus Walleij (20):
ARM: dts: ux500: Give memory nodes their unit address
ARM: dts: ux500: Put CPU cooling properties in a map node
ARM: dts: ux500: Correct HREF thermistor and pin group names
ARM: dts: ux500: Remove bus clock rates from I2C peripheral nodes
ARM: dts: ux500: Use the standard battery chemistry property
ARM: dts: ux500: Correct STUIB magnetometer supply names
ARM: dts: ux500: Encode Sharp proximity hysteresis as bytes
ARM: dts: ux500: Give DSI panels their unit addresses
ARM: dts: ux500: Remove unused IIO channel inheritance on Janice
ARM: dts: ux500: Fix SD regulator node validation
ARM: dts: ux500: Correct GPIO key descriptions
ARM: dts: ux500: Correct the PL011 functional clock names
ARM: dts: ux500: Correct the STMPE interrupt pin property
ARM: dts: ux500: Use valid I2C bus node names
ARM: dts: ux500: Correct memory-mapped controller unit addresses
ARM: dts: nomadik: Correct the camera I2C unit address
ARM: dts: nomadik: Correct controller and clock unit addresses
ARM: dts: ux500: Move the pin controller out of the simple bus
ARM: dts: ux500: Move addressless devices out of the simple bus
ARM: dts: ux500: Connect the AB8500 ULP PLL supply
arch/arm/boot/dts/st/ste-ab8500.dtsi | 1 +
arch/arm/boot/dts/st/ste-dbx5x0.dtsi | 146 ++++----
arch/arm/boot/dts/st/ste-href-family-pinctrl.dtsi | 369 ++++++++++-----------
arch/arm/boot/dts/st/ste-href-stuib.dtsi | 151 +++++----
arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi | 136 ++++----
arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi | 110 +++---
arch/arm/boot/dts/st/ste-href.dtsi | 19 +-
arch/arm/boot/dts/st/ste-href520-tvk.dts | 2 +-
arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts | 2 +-
arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts | 2 +-
arch/arm/boot/dts/st/ste-hrefprev60.dtsi | 109 +++---
arch/arm/boot/dts/st/ste-hrefv60plus-stuib.dts | 2 +-
arch/arm/boot/dts/st/ste-hrefv60plus-tvk.dts | 2 +-
arch/arm/boot/dts/st/ste-hrefv60plus.dtsi | 363 ++++++++++----------
arch/arm/boot/dts/st/ste-nomadik-nhk15.dts | 4 +-
arch/arm/boot/dts/st/ste-nomadik-s8815.dts | 6 +-
arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi | 152 ++++-----
arch/arm/boot/dts/st/ste-snowball.dts | 363 ++++++++++----------
.../boot/dts/st/ste-ux500-samsung-codina-tmo.dts | 13 +-
arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts | 14 +-
arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts | 16 +-
arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts | 18 +-
arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts | 19 +-
arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts | 15 +-
arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts | 15 +-
25 files changed, 1015 insertions(+), 1034 deletions(-)
---
base-commit: ce2efbd2e360243deaf4b2a7502714da1a50d06d
change-id: 20261126-ux500-dts-after-powerdomains-7c351acc858e
Best regards,
--
Linus Walleij <linusw@kernel.org>
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH 01/20] ARM: dts: ux500: Give memory nodes their unit address
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 02/20] ARM: dts: ux500: Put CPU cooling properties in a map node Linus Walleij
` (18 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The root-node schema rejects memory nodes without a unit address.
Name the memory banks after their first address, zero, on the HREF,
Snowball and Nomadik boards. Found with CHECK_DTBS=1.
Fixes: d1b8bfa342ca ("ARM: ux500: Create a DTS hierarchy for ST-Ericsson's HREF boards")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-href.dtsi | 2 +-
arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi | 2 +-
arch/arm/boot/dts/st/ste-snowball.dts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-href.dtsi b/arch/arm/boot/dts/st/ste-href.dtsi
index 3150e1d2f656..a85b2c352c69 100644
--- a/arch/arm/boot/dts/st/ste-href.dtsi
+++ b/arch/arm/boot/dts/st/ste-href.dtsi
@@ -8,7 +8,7 @@
#include "ste-href-family-pinctrl.dtsi"
/ {
- memory {
+ memory@0 {
device_type = "memory";
reg = <0x00000000 0x20000000>;
};
diff --git a/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi b/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
index 4d37c5fb553c..b90c15352c13 100644
--- a/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
+++ b/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
@@ -9,7 +9,7 @@ / {
#address-cells = <1>;
#size-cells = <1>;
- memory {
+ memory@0 {
device_type = "memory";
reg = <0x00000000 0x04000000>,
<0x08000000 0x04000000>;
diff --git a/arch/arm/boot/dts/st/ste-snowball.dts b/arch/arm/boot/dts/st/ste-snowball.dts
index 1607bfbd9f56..3b629dd7f798 100644
--- a/arch/arm/boot/dts/st/ste-snowball.dts
+++ b/arch/arm/boot/dts/st/ste-snowball.dts
@@ -12,7 +12,7 @@ / {
model = "Calao Systems Snowball platform with device tree";
compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
- memory {
+ memory@0 {
device_type = "memory";
reg = <0x00000000 0x20000000>;
};
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 02/20] ARM: dts: ux500: Put CPU cooling properties in a map node
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
2026-11-26 0:37 ` [PATCH 01/20] ARM: dts: ux500: Give memory nodes their unit address Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 03/20] ARM: dts: ux500: Correct HREF thermistor and pin group names Linus Walleij
` (17 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The thermal-zones schema requires cooling-maps to contain map nodes.
Place the CPU cooling association inside map0 so the thermal core can
parse the association. Found with CHECK_DTBS=1.
Fixes: b786a05f6ce4 ("ARM: dts: ux500: Update thermal zone")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-dbx5x0.dtsi | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
index 967444e4a618..2682e250b23c 100644
--- a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
+++ b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
@@ -98,9 +98,11 @@ cpu-crit {
};
cooling-maps {
- trip = <&cpu_alert>;
- cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
- contribution = <100>;
+ map0 {
+ trip = <&cpu_alert>;
+ cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ contribution = <100>;
+ };
};
};
};
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 03/20] ARM: dts: ux500: Correct HREF thermistor and pin group names
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
2026-11-26 0:37 ` [PATCH 01/20] ARM: dts: ux500: Give memory nodes their unit address Linus Walleij
2026-11-26 0:37 ` [PATCH 02/20] ARM: dts: ux500: Put CPU cooling properties in a map node Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 04/20] ARM: dts: ux500: Remove bus clock rates from I2C peripheral nodes Linus Walleij
` (16 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The thermistors have no address and must not have unit addresses.
The pin configuration container named gpios is mistaken for a GPIO
specifier by the generic GPIO schema. Use descriptive node names
without changing their labels. Found with CHECK_DTBS=1.
Fixes: 695055861a36 ("ARM: dts: ux500: Add thermistors to the HREF")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-hrefv60plus.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-hrefv60plus.dtsi b/arch/arm/boot/dts/st/ste-hrefv60plus.dtsi
index b23966c16a32..c9e9ef830988 100644
--- a/arch/arm/boot/dts/st/ste-hrefv60plus.dtsi
+++ b/arch/arm/boot/dts/st/ste-hrefv60plus.dtsi
@@ -49,7 +49,7 @@ map0 {
* Thermistors on the board, formally to monitor battery temperatures
* but what they measure is the board temperature.
*/
- therm1: thermistor@0 {
+ therm1: thermistor-0 {
compatible = "murata,ncp18wb473";
io-channels = <&gpadc 0x06>; /* AUX1 */
pullup-uv = <1800000>;
@@ -58,7 +58,7 @@ therm1: thermistor@0 {
#thermal-sensor-cells = <0>;
};
- therm2: thermistor@1 {
+ therm2: thermistor-1 {
compatible = "murata,ncp18wb473";
io-channels = <&gpadc 0x07>; /* AUX2 */
pullup-uv = <1800000>;
@@ -361,7 +361,7 @@ hrefv60_cfg2 {
};
};
};
- gpios {
+ dangling-pins {
/* Dangling GPIO pins */
gpios_hrefv60_mode: gpios_hrefv60 {
default_cfg1 {
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 04/20] ARM: dts: ux500: Remove bus clock rates from I2C peripheral nodes
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (2 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 03/20] ARM: dts: ux500: Correct HREF thermistor and pin group names Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 05/20] ARM: dts: ux500: Use the standard battery chemistry property Linus Walleij
` (15 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
Several Samsung I2C peripherals contain clock-frequency = <400000>.
These devices do not consume such a clock; bus frequency belongs to
the I2C controller. Remove the misplaced properties while retaining
the controller settings. Found with CHECK_DTBS=1.
Fixes: 8388234ec562 ("ARM: dts: ux500: Add Codina TMO device tree")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts | 2 --
arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts | 3 ---
arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts | 1 -
arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts | 2 --
arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts | 2 --
arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts | 2 --
6 files changed, 12 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
index 3350fc775cc9..6afc9b0113ff 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
@@ -241,7 +241,6 @@ i2c-gpio-1 {
magnetometer@c {
compatible = "alps,hscdtd008a";
reg = <0x0c>;
- clock-frequency = <400000>;
avdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
dvdd-supply = <&ab8500_ldo_aux8_reg>; // 1.8V
@@ -482,7 +481,6 @@ i2c@80004000 {
proximity@39 {
/* Codina has the Amstaos TMD2672 */
compatible = "amstaos,tmd2672";
- clock-frequency = <400000>;
reg = <0x39>;
/* IRQ on GPIO146 "PS_INT" */
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
index 8df2e4b74174..d3325276dfa0 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
@@ -298,7 +298,6 @@ i2c-gpio-0 {
magnetometer@c {
compatible = "alps,hscdtd008a";
reg = <0x0c>;
- clock-frequency = <400000>;
avdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
dvdd-supply = <&ab8500_ldo_aux2_reg>; // 1.8V
@@ -321,7 +320,6 @@ nfc@2b {
compatible = "nxp,pn544-i2c";
/* IF0, IF1 high, gives I2C address 0x2B */
reg = <0x2b>;
- clock-frequency = <400000>;
/* NFC IRQ on GPIO32 */
interrupt-parent = <&gpio1>;
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
@@ -565,7 +563,6 @@ i2c@80004000 {
proximity@39 {
/* Codina has the Amstaos TMD2672 */
compatible = "amstaos,tmd2672";
- clock-frequency = <400000>;
reg = <0x39>;
/* IRQ on GPIO146 "PS_INT" */
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
index 277060c08a20..1cbccaa1c3cd 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
@@ -536,7 +536,6 @@ i2c@80004000 {
proximity@39 {
/* Gavini has the GP2A030S00F proximity sensor */
compatible = "sharp,gp2a030s00f";
- clock-frequency = <400000>;
reg = <0x39>;
/* FIXME: GPIO146 provides power on, IR LED? */
};
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
index e821527f418c..1ab09e8d8d2d 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
@@ -411,7 +411,6 @@ nfc@2b { /* 0x30? */
compatible = "nxp,pn544-i2c";
/* IF0, IF1 high, gives I2C address 0x2B */
reg = <0x2b>;
- clock-frequency = <400000>;
/* NFC IRQ on GPIO32 */
interrupt-parent = <&gpio1>;
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
@@ -607,7 +606,6 @@ i2c@80004000 {
proximity@44 {
/* Janice has the GP2AP002A00F with light sensor */
compatible = "sharp,gp2ap002a00f";
- clock-frequency = <400000>;
reg = <0x44>;
interrupt-parent = <&gpio4>;
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
index 30f9bdfd2893..dad2844169b1 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
@@ -414,7 +414,6 @@ i2c@80004000 {
proximity@44 {
compatible = "sharp,gp2ap002s00f";
- clock-frequency = <400000>;
reg = <0x44>;
interrupt-parent = <&gpio4>;
@@ -438,7 +437,6 @@ i2c@80128000 {
accel@18 {
compatible = "bosch,bma254";
- clock-frequency = <400000>;
reg = <0x18>;
mount-matrix = "-1", "0", "0",
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
index c3eb07fe2a27..9aaf42014efe 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
@@ -394,7 +394,6 @@ i2c@80004000 {
proximity@44 {
compatible = "sharp,gp2ap002s00f";
- clock-frequency = <400000>;
reg = <0x44>;
interrupt-parent = <&gpio4>;
@@ -419,7 +418,6 @@ i2c@80128000 {
accel@18 {
compatible = "bosch,bma254";
- clock-frequency = <400000>;
reg = <0x18>;
/* GPIO224 used as "smart alert" interrupt */
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 05/20] ARM: dts: ux500: Use the standard battery chemistry property
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (3 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 04/20] ARM: dts: ux500: Remove bus clock rates from I2C peripheral nodes Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 06/20] ARM: dts: ux500: Correct STUIB magnetometer supply names Linus Walleij
` (14 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The simple-battery binding uses device-chemistry. Replace the unused
battery-type property so the power supply core can read the chemistry.
Found with CHECK_DTBS=1.
Fixes: be3a60a94390 ("ARM: dts: ux500: Switch battery nodes to standard")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-href.dtsi | 2 +-
arch/arm/boot/dts/st/ste-snowball.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-href.dtsi b/arch/arm/boot/dts/st/ste-href.dtsi
index a85b2c352c69..459f82134d03 100644
--- a/arch/arm/boot/dts/st/ste-href.dtsi
+++ b/arch/arm/boot/dts/st/ste-href.dtsi
@@ -15,7 +15,7 @@ memory@0 {
battery: battery {
compatible = "simple-battery";
- battery-type = "lithium-ion-polymer";
+ device-chemistry = "lithium-ion-polymer";
};
thermal-zones {
diff --git a/arch/arm/boot/dts/st/ste-snowball.dts b/arch/arm/boot/dts/st/ste-snowball.dts
index 3b629dd7f798..2e2f787871ed 100644
--- a/arch/arm/boot/dts/st/ste-snowball.dts
+++ b/arch/arm/boot/dts/st/ste-snowball.dts
@@ -19,7 +19,7 @@ memory@0 {
battery: battery {
compatible = "simple-battery";
- battery-type = "lithium-ion-polymer";
+ device-chemistry = "lithium-ion-polymer";
};
thermal-zones {
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 06/20] ARM: dts: ux500: Correct STUIB magnetometer supply names
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (4 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 05/20] ARM: dts: ux500: Use the standard battery chemistry property Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 07/20] ARM: dts: ux500: Encode Sharp proximity hysteresis as bytes Linus Walleij
` (13 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The AK8974 driver and binding use avdd and dvdd for the analog and
digital supplies. Name the STUIB supplies accordingly so the driver
can request them. Found with CHECK_DTBS=1.
Fixes: df44ad87abcb ("ARM: ux500: add the sensors to the STUIB board")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-href-stuib.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-href-stuib.dtsi b/arch/arm/boot/dts/st/ste-href-stuib.dtsi
index 729e7e1fbfa7..a7a7146980bd 100644
--- a/arch/arm/boot/dts/st/ste-href-stuib.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-stuib.dtsi
@@ -91,8 +91,8 @@ ak8974@f {
/* Magnetometer */
compatible = "asahi-kasei,ak8974";
reg = <0x0f>;
- vdd-supply = <&ab8500_ldo_aux1_reg>;
- vddio-supply = <&buck_vio18>;
+ avdd-supply = <&ab8500_ldo_aux1_reg>;
+ dvdd-supply = <&buck_vio18>;
pinctrl-names = "default";
pinctrl-0 = <&magneto_stuib_mode>;
interrupt-parent = <&gpio1>;
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 07/20] ARM: dts: ux500: Encode Sharp proximity hysteresis as bytes
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (5 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 06/20] ARM: dts: ux500: Correct STUIB magnetometer supply names Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 08/20] ARM: dts: ux500: Give DSI panels their unit addresses Linus Walleij
` (12 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The GP2AP002 binding defines the hysteresis registers as uint8 values.
Use an explicit eight-bit encoding, matching the values consumed by
the driver. Found with CHECK_DTBS=1.
Fixes: 2ae6193a1b95 ("ARM: dts: ux500: samsung-golden: Add proximity sensor")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts
index 3f5499a7247e..369572347222 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts
@@ -248,8 +248,8 @@ proximity@44 {
pinctrl-names = "default";
pinctrl-0 = <&proximity_default>;
- sharp,proximity-far-hysteresis = <0x40>;
- sharp,proximity-close-hysteresis = <0x0f>;
+ sharp,proximity-far-hysteresis = /bits/ 8 <0x40>;
+ sharp,proximity-close-hysteresis = /bits/ 8 <0x0f>;
};
};
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 08/20] ARM: dts: ux500: Give DSI panels their unit addresses
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (6 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 07/20] ARM: dts: ux500: Encode Sharp proximity hysteresis as bytes Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 09/20] ARM: dts: ux500: Remove unused IIO channel inheritance on Janice Linus Walleij
` (11 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The panel children have reg = <0> and must be named panel@0. This also
allows the DSI controller schema to match them. Found with CHECK_DTBS=1.
Fixes: f4bdfcc29a8b ("ARM: dts: Ux500: Add MCDE and Samsung display")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-href-stuib.dtsi | 2 +-
arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi | 2 +-
arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi | 2 +-
arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts | 2 +-
arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-href-stuib.dtsi b/arch/arm/boot/dts/st/ste-href-stuib.dtsi
index a7a7146980bd..09c8be0ad7ea 100644
--- a/arch/arm/boot/dts/st/ste-href-stuib.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-stuib.dtsi
@@ -199,7 +199,7 @@ mcde@a0350000 {
status = "okay";
dsi@a0351000 {
- panel {
+ panel@0 {
compatible = "samsung,s6d16d0";
reg = <0>;
vdd1-supply = <&ab8500_ldo_aux1_reg>;
diff --git a/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi b/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi
index 391e69769941..fb9d796c77cc 100644
--- a/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi
@@ -214,7 +214,7 @@ mcde@a0350000 {
status = "okay";
dsi@a0351000 {
- panel {
+ panel@0 {
compatible = "samsung,s6d16d0";
reg = <0>;
vdd1-supply = <&ab8500_ldo_aux1_reg>;
diff --git a/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi b/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi
index c5acb60c15c9..1764ddcdf08b 100644
--- a/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi
@@ -156,7 +156,7 @@ mcde@a0350000 {
status = "okay";
dsi@a0351000 {
- panel {
+ panel@0 {
compatible = "sony,acx424akp";
reg = <0>;
vddi-supply = <&ab8500_ldo_aux1_reg>;
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
index dad2844169b1..61023711f113 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
@@ -481,7 +481,7 @@ mcde@a0350000 {
pinctrl-0 = <&dsi_default_mode>;
dsi@a0351000 {
- panel {
+ panel@0 {
/*
* NT35510-based Hydis HVA40WV1
* Apparently some Kyle models can have a NT35512 fitted
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
index 9aaf42014efe..a10710beff32 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
@@ -472,7 +472,7 @@ mcde@a0350000 {
pinctrl-0 = <&dsi_default_mode>;
dsi@a0351000 {
- panel {
+ panel@0 {
/* NT35510-based Hydis HVA40WV1 */
compatible = "hydis,hva40wv1", "novatek,nt35510";
reg = <0>;
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 09/20] ARM: dts: ux500: Remove unused IIO channel inheritance on Janice
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (7 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 08/20] ARM: dts: ux500: Give DSI panels their unit addresses Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 10/20] ARM: dts: ux500: Fix SD regulator node validation Linus Walleij
` (10 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The current-sense-shunt provider has no child consumers that inherit
its channels. Drop io-channel-ranges, which is not part of its binding.
The proximity sensor references this provider directly. Found with
CHECK_DTBS=1.
Fixes: 78894adedd87 ("ARM: dts: ux500: Add a device tree for Janice")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
index 1ab09e8d8d2d..f0ccf370710f 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
@@ -321,7 +321,6 @@ gp2a_shunt: current-sense-shunt {
io-channels = <&gpadc 0x07>;
shunt-resistor-micro-ohms = <15000000>; /* 15 ohms c:a */
#io-channel-cells = <0>;
- io-channel-ranges;
};
/* Bit-banged I2C on GPIO196 and GPIO197 also called "TOUCHKEY_I2C" */
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 10/20] ARM: dts: ux500: Fix SD regulator node validation
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (8 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 09/20] ARM: dts: ux500: Remove unused IIO channel inheritance on Janice Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 11/20] ARM: dts: ux500: Correct GPIO key descriptions Linus Walleij
` (9 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
Rename the SD regulator nodes so the GPIO consumer property pattern
does not mistake them for GPIO specifiers. Drop regulator-type from
fixed supplies now that their nodes are validated, and move the
Snowball regulator out of the simple bus because it has no address.
Fixes: 5282da459a97 ("ARM: dts: ux500: Push VMMCI down to each tree")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-href520-tvk.dts | 2 +-
arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts | 2 +-
arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts | 2 +-
arch/arm/boot/dts/st/ste-hrefv60plus-stuib.dts | 2 +-
arch/arm/boot/dts/st/ste-hrefv60plus-tvk.dts | 2 +-
arch/arm/boot/dts/st/ste-snowball.dts | 42 +++++++++++-----------
.../boot/dts/st/ste-ux500-samsung-codina-tmo.dts | 3 +-
arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts | 3 +-
arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts | 3 +-
arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts | 3 +-
arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts | 3 +-
11 files changed, 31 insertions(+), 36 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-href520-tvk.dts b/arch/arm/boot/dts/st/ste-href520-tvk.dts
index 5677df43c3ac..9033832fd572 100644
--- a/arch/arm/boot/dts/st/ste-href520-tvk.dts
+++ b/arch/arm/boot/dts/st/ste-href520-tvk.dts
@@ -15,7 +15,7 @@ / {
/* ST6G3244ME level translator for 1.8/2.9 V */
- vmmci: regulator-gpio {
+ vmmci: regulator-sd {
compatible = "regulator-gpio";
regulator-min-microvolt = <1800000>;
diff --git a/arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts b/arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts
index b142bb2d38d8..5dbf6395daa3 100644
--- a/arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts
+++ b/arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts
@@ -14,7 +14,7 @@ / {
compatible = "st-ericsson,mop500", "st-ericsson,u8500";
/* ST6G3244ME level translator for 1.8/2.9 V */
- vmmci: regulator-gpio {
+ vmmci: regulator-sd {
compatible = "regulator-gpio";
regulator-min-microvolt = <1800000>;
diff --git a/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts b/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts
index 5da1ff41b00e..a43d4153ef4c 100644
--- a/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts
+++ b/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts
@@ -14,7 +14,7 @@ / {
compatible = "st-ericsson,mop500", "st-ericsson,u8500";
/* ST6G3244ME level translator for 1.8/2.9 V */
- vmmci: regulator-gpio {
+ vmmci: regulator-sd {
compatible = "regulator-gpio";
regulator-min-microvolt = <1800000>;
diff --git a/arch/arm/boot/dts/st/ste-hrefv60plus-stuib.dts b/arch/arm/boot/dts/st/ste-hrefv60plus-stuib.dts
index c4abe24a7cd0..b0bc4df649f0 100644
--- a/arch/arm/boot/dts/st/ste-hrefv60plus-stuib.dts
+++ b/arch/arm/boot/dts/st/ste-hrefv60plus-stuib.dts
@@ -16,7 +16,7 @@ / {
compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
/* ST6G3244ME level translator for 1.8/2.9 V */
- vmmci: regulator-gpio {
+ vmmci: regulator-sd {
compatible = "regulator-gpio";
regulator-min-microvolt = <1800000>;
diff --git a/arch/arm/boot/dts/st/ste-hrefv60plus-tvk.dts b/arch/arm/boot/dts/st/ste-hrefv60plus-tvk.dts
index f55e8de2b516..363e2ef14f78 100644
--- a/arch/arm/boot/dts/st/ste-hrefv60plus-tvk.dts
+++ b/arch/arm/boot/dts/st/ste-hrefv60plus-tvk.dts
@@ -16,7 +16,7 @@ / {
compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
/* ST6G3244ME level translator for 1.8/2.9 V */
- vmmci: regulator-gpio {
+ vmmci: regulator-sd {
compatible = "regulator-gpio";
regulator-min-microvolt = <1800000>;
diff --git a/arch/arm/boot/dts/st/ste-snowball.dts b/arch/arm/boot/dts/st/ste-snowball.dts
index 2e2f787871ed..5b27393a7ac6 100644
--- a/arch/arm/boot/dts/st/ste-snowball.dts
+++ b/arch/arm/boot/dts/st/ste-snowball.dts
@@ -113,6 +113,27 @@ used-led {
};
};
+ /* ST6G3244ME level translator for 1.8/2.9 V */
+ vmmci: regulator-sd {
+ compatible = "regulator-gpio";
+
+ /* GPIO228 SD_SEL */
+ gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
+ /* GPIO217 MMC_EN */
+ enable-gpios = <&gpio6 25 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <2900000>;
+ regulator-name = "mmci-reg";
+ regulator-type = "voltage";
+
+ startup-delay-us = <100>;
+
+ states = <1800000 0x1
+ 2900000 0x0>;
+ };
+
soc {
/* Name the GPIO muxed rails on the Snowball board */
gpio@8012e000 {
@@ -222,27 +243,6 @@ ethernet@0 {
};
};
- /* ST6G3244ME level translator for 1.8/2.9 V */
- vmmci: regulator-gpio {
- compatible = "regulator-gpio";
-
- /* GPIO228 SD_SEL */
- gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
- /* GPIO217 MMC_EN */
- enable-gpios = <&gpio6 25 GPIO_ACTIVE_HIGH>;
- enable-active-high;
-
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <2900000>;
- regulator-name = "mmci-reg";
- regulator-type = "voltage";
-
- startup-delay-us = <100>;
-
- states = <1800000 0x1
- 2900000 0x0>;
- };
-
// External Micro SD slot
mmc@80126000 {
arm,primecell-periphid = <0x10480180>;
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
index 6afc9b0113ff..2d71366c479b 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
@@ -66,7 +66,7 @@ bat_therm: thermistor {
};
/* TI TXS0206 level translator for 2.9 V */
- sd_level_translator: regulator-gpio {
+ sd_level_translator: regulator-sd {
compatible = "regulator-fixed";
/* GPIO87 EN */
@@ -76,7 +76,6 @@ sd_level_translator: regulator-gpio {
regulator-name = "sd-level-translator";
regulator-min-microvolt = <2900000>;
regulator-max-microvolt = <2900000>;
- regulator-type = "voltage";
startup-delay-us = <200>;
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
index d3325276dfa0..c81531adcd63 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
@@ -79,7 +79,7 @@ bat_therm: thermistor {
};
/* TI TXS0206 level translator for 2.9 V */
- sd_level_translator: regulator-gpio {
+ sd_level_translator: regulator-sd {
compatible = "regulator-fixed";
/* GPIO87 EN */
@@ -89,7 +89,6 @@ sd_level_translator: regulator-gpio {
regulator-name = "sd-level-translator";
regulator-min-microvolt = <2900000>;
regulator-max-microvolt = <2900000>;
- regulator-type = "voltage";
startup-delay-us = <200>;
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
index 1cbccaa1c3cd..323887f8a858 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
@@ -52,7 +52,7 @@ bat_therm: thermistor {
};
/* TI TXS0206 level translator for 2.9 V */
- sd_level_translator: regulator-gpio {
+ sd_level_translator: regulator-sd {
compatible = "regulator-fixed";
/* GPIO193 EN */
@@ -62,7 +62,6 @@ sd_level_translator: regulator-gpio {
regulator-name = "sd-level-translator";
regulator-min-microvolt = <2900000>;
regulator-max-microvolt = <2900000>;
- regulator-type = "voltage";
startup-delay-us = <200>;
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
index 61023711f113..0d2d5bcc32d2 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
@@ -56,7 +56,7 @@ bat_therm: thermistor {
};
/* TI TXS0206 level translator for 2.9 V */
- sd_level_translator: regulator-gpio {
+ sd_level_translator: regulator-sd {
compatible = "regulator-fixed";
/* GPIO87 EN */
@@ -66,7 +66,6 @@ sd_level_translator: regulator-gpio {
regulator-name = "sd-level-translator";
regulator-min-microvolt = <2900000>;
regulator-max-microvolt = <2900000>;
- regulator-type = "voltage";
startup-delay-us = <200>;
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
index a10710beff32..335539be55fd 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
@@ -52,7 +52,7 @@ bat_therm: thermistor {
};
/* TI TXS0206 level translator for 2.9 V */
- sd_level_translator: regulator-gpio {
+ sd_level_translator: regulator-sd {
compatible = "regulator-fixed";
/* GPIO87 EN */
@@ -62,7 +62,6 @@ sd_level_translator: regulator-gpio {
regulator-name = "sd-level-translator";
regulator-min-microvolt = <2900000>;
regulator-max-microvolt = <2900000>;
- regulator-type = "voltage";
startup-delay-us = <200>;
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 11/20] ARM: dts: ux500: Correct GPIO key descriptions
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (9 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 10/20] ARM: dts: ux500: Fix SD regulator node validation Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:44 ` sashiko-bot
2026-11-26 0:37 ` [PATCH 12/20] ARM: dts: ux500: Correct the PL011 functional clock names Linus Walleij
` (8 subsequent siblings)
19 siblings, 1 reply; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
Use names without unit addresses for GPIO keys and drop unused
address cells and vdd-supply. Update the pre-v60 HREF proximity
switch override to match its renamed key node.
Fixes: 1a780d45b10e ("ARM: ux500: move GPIO key configuration to device tree")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-href-stuib.dtsi | 7 ++-----
arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi | 7 ++-----
arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi | 5 +----
arch/arm/boot/dts/st/ste-hrefprev60.dtsi | 2 +-
arch/arm/boot/dts/st/ste-snowball.dts | 12 +++++-------
arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts | 6 +++---
6 files changed, 14 insertions(+), 25 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-href-stuib.dtsi b/arch/arm/boot/dts/st/ste-href-stuib.dtsi
index 09c8be0ad7ea..1f0f4ed74fd2 100644
--- a/arch/arm/boot/dts/st/ste-href-stuib.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-stuib.dtsi
@@ -8,19 +8,16 @@
/ {
gpio_keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
- vdd-supply = <&ab8500_ldo_aux1_reg>;
pinctrl-names = "default";
pinctrl-0 = <&prox_stuib_mode>, <&hall_stuib_mode>;
- button@139 {
+ button-139 {
/* Proximity sensor */
gpios = <&gpio6 25 GPIO_ACTIVE_HIGH>;
linux,code = <11>; /* SW_FRONT_PROXIMITY */
label = "SFH7741 Proximity Sensor";
};
- button@145 {
+ button-145 {
/* Hall sensor */
gpios = <&gpio4 17 GPIO_ACTIVE_HIGH>;
linux,code = <0>; /* SW_LID */
diff --git a/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi b/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi
index fb9d796c77cc..4a2bfa4c702b 100644
--- a/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi
@@ -9,19 +9,16 @@
/ {
gpio_keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
- vdd-supply = <&ab8500_ldo_aux1_reg>;
pinctrl-names = "default";
pinctrl-0 = <&prox_tvk_mode>, <&hall_tvk_mode>;
- button@139 {
+ button-139 {
/* Proximity sensor */
gpios = <&gpio6 25 GPIO_ACTIVE_HIGH>;
linux,code = <11>; /* SW_FRONT_PROXIMITY */
label = "SFH7741 Proximity Sensor";
};
- button@145 {
+ button-145 {
/* Hall sensor */
gpios = <&gpio4 17 GPIO_ACTIVE_HIGH>;
linux,code = <0>; /* SW_LID */
diff --git a/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi b/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi
index 1764ddcdf08b..adb8d0be6f73 100644
--- a/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi
@@ -10,13 +10,10 @@
/ {
gpio_keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
- vdd-supply = <&ab8500_ldo_aux1_reg>;
pinctrl-names = "default";
pinctrl-0 = <&hall_tvk_mode>;
- button@145 {
+ button-145 {
/* Hall sensor */
gpios = <&gpio4 17 GPIO_ACTIVE_HIGH>;
linux,code = <0>; /* SW_LID */
diff --git a/arch/arm/boot/dts/st/ste-hrefprev60.dtsi b/arch/arm/boot/dts/st/ste-hrefprev60.dtsi
index c87fd27b4434..5686d777311f 100644
--- a/arch/arm/boot/dts/st/ste-hrefprev60.dtsi
+++ b/arch/arm/boot/dts/st/ste-hrefprev60.dtsi
@@ -10,7 +10,7 @@
/ {
gpio_keys {
- button@1 {
+ button-139 {
gpios = <&tc3589x_gpio 7 GPIO_ACTIVE_HIGH>;
};
};
diff --git a/arch/arm/boot/dts/st/ste-snowball.dts b/arch/arm/boot/dts/st/ste-snowball.dts
index 5b27393a7ac6..29e680264e5b 100644
--- a/arch/arm/boot/dts/st/ste-snowball.dts
+++ b/arch/arm/boot/dts/st/ste-snowball.dts
@@ -61,38 +61,36 @@ en_3v3_reg: en_3v3 {
gpio_keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
- button@1 {
+ button-1 {
debounce-interval = <50>;
wakeup-source;
linux,code = <2>;
label = "userpb";
gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
};
- button@2 {
+ button-2 {
debounce-interval = <50>;
wakeup-source;
linux,code = <3>;
label = "extkb1";
gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
};
- button@3 {
+ button-3 {
debounce-interval = <50>;
wakeup-source;
linux,code = <4>;
label = "extkb2";
gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>;
};
- button@4 {
+ button-4 {
debounce-interval = <50>;
wakeup-source;
linux,code = <5>;
label = "extkb3";
gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
};
- button@5 {
+ button-5 {
debounce-interval = <50>;
wakeup-source;
linux,code = <6>;
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts
index 369572347222..52a54732719e 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts
@@ -391,21 +391,21 @@ gpio-keys {
label = "GPIO Buttons";
- volume-up {
+ key-volume-up {
label = "VOL+";
/* GPIO67 (VOL_UP) */
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;
};
- volume-down {
+ key-volume-down {
label = "VOL-";
/* GPIO92 (VOL_DOWN) */
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>;
};
- home {
+ key-home {
label = "HOME";
/* GPIO91 (HOME_KEY) */
gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 12/20] ARM: dts: ux500: Correct the PL011 functional clock names
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (10 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 11/20] ARM: dts: ux500: Correct GPIO key descriptions Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 13/20] ARM: dts: ux500: Correct the STMPE interrupt pin property Linus Walleij
` (7 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The PL011 binding calls the functional clock uartclk. Use that name
for all three UARTs; the clock specifiers stay unchanged. Found with
CHECK_DTBS=1.
Fixes: 5a323fb4f759 ("ARM: ux500: Supply the UART clocks lookup to the DBX500 DT")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-dbx5x0.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
index 2682e250b23c..7bb09b45698d 100644
--- a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
+++ b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
@@ -881,7 +881,7 @@ serial0: serial@80120000 {
dma-names = "rx", "tx";
clocks = <&prcc_kclk 1 0>, <&prcc_pclk 1 0>;
- clock-names = "uart", "apb_pclk";
+ clock-names = "uartclk", "apb_pclk";
power-domains = <&pm_domains DOMAIN_VAPE>;
resets = <&prcc_reset DB8500_PRCC_1 DB8500_PRCC_1_RESET_UART0>;
@@ -898,7 +898,7 @@ serial1: serial@80121000 {
dma-names = "rx", "tx";
clocks = <&prcc_kclk 1 1>, <&prcc_pclk 1 1>;
- clock-names = "uart", "apb_pclk";
+ clock-names = "uartclk", "apb_pclk";
power-domains = <&pm_domains DOMAIN_VAPE>;
resets = <&prcc_reset DB8500_PRCC_1 DB8500_PRCC_1_RESET_UART1>;
@@ -915,7 +915,7 @@ serial2: serial@80007000 {
dma-names = "rx", "tx";
clocks = <&prcc_kclk 3 6>, <&prcc_pclk 3 6>;
- clock-names = "uart", "apb_pclk";
+ clock-names = "uartclk", "apb_pclk";
power-domains = <&pm_domains DOMAIN_VAPE>;
resets = <&prcc_reset DB8500_PRCC_3 DB8500_PRCC_3_RESET_UART2>;
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 13/20] ARM: dts: ux500: Correct the STMPE interrupt pin property
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (11 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 12/20] ARM: dts: ux500: Correct the PL011 functional clock names Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 14/20] ARM: dts: ux500: Use valid I2C bus node names Linus Walleij
` (6 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
Nomadik pin configuration groups use pins, not ste,pins. Correct
the STUIB STMPE IRQ configuration so its pull-up is applied. Found
while validating with the converted pin controller schema.
Fixes: 07523a6cb6f8 ("ARM: dts: ux500: set pull-up on STUIB STMPE IRQ line")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-href-stuib.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/ste-href-stuib.dtsi b/arch/arm/boot/dts/st/ste-href-stuib.dtsi
index 1f0f4ed74fd2..e2bd0418bb7a 100644
--- a/arch/arm/boot/dts/st/ste-href-stuib.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-stuib.dtsi
@@ -128,7 +128,7 @@ pinctrl {
stmpe {
stmpe_stuib_mode: stmpe_stuib {
stuib_cfg {
- ste,pins = "GPIO218_AH11";
+ pins = "GPIO218_AH11";
ste,config = <&gpio_in_pu>;
};
};
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 14/20] ARM: dts: ux500: Use valid I2C bus node names
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (12 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 13/20] ARM: dts: ux500: Correct the STMPE interrupt pin property Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 15/20] ARM: dts: ux500: Correct memory-mapped controller unit addresses Linus Walleij
` (5 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
I2C bus node names allow a single suffix after i2c-. Rename the GPIO
buses to i2c-gpioN and the Nomadik buses to i2c-N so i2c-controller
validation recognizes their address cells and children. Also use bus
for the Nomadik AMBA simple bus. Found with CHECK_DTBS=1.
Fixes: 451f2334f09c ("ARM: nomadik: device tree for NHK15 board")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-nomadik-nhk15.dts | 4 ++--
arch/arm/boot/dts/st/ste-nomadik-s8815.dts | 6 +++---
arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi | 10 +++++-----
arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts | 8 ++++----
arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts | 8 ++++----
arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts | 12 ++++++------
arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts | 8 ++++----
arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts | 16 ++++++++--------
arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts | 8 ++++----
arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts | 8 ++++----
10 files changed, 44 insertions(+), 44 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-nomadik-nhk15.dts b/arch/arm/boot/dts/st/ste-nomadik-nhk15.dts
index cdff33063d6f..ebf761059bfe 100644
--- a/arch/arm/boot/dts/st/ste-nomadik-nhk15.dts
+++ b/arch/arm/boot/dts/st/ste-nomadik-nhk15.dts
@@ -89,7 +89,7 @@ ethernet@300 {
};
};
- i2c0 {
+ i2c-0 {
lis3lv02dl@1d {
/* Accelerometer */
compatible = "st,lis3lv02dl-accel";
@@ -173,7 +173,7 @@ mmcsd-hog {
};
};
- amba {
+ bus {
clcd@10120000 {
status = "okay";
pinctrl-names = "default";
diff --git a/arch/arm/boot/dts/st/ste-nomadik-s8815.dts b/arch/arm/boot/dts/st/ste-nomadik-s8815.dts
index 7c7a53604204..487b6daf07be 100644
--- a/arch/arm/boot/dts/st/ste-nomadik-s8815.dts
+++ b/arch/arm/boot/dts/st/ste-nomadik-s8815.dts
@@ -106,7 +106,7 @@ ethernet@300 {
};
};
- i2c1 {
+ i2c-1 {
lis3lv02dl@1d {
/* Accelerometer */
compatible = "st,lis3lv02dl-accel";
@@ -115,7 +115,7 @@ lis3lv02dl@1d {
};
/* GPIO I2C connected to the USB portions of the STw4811 only */
- gpio-i2c {
+ i2c-bitbang {
compatible = "i2c-gpio";
sda-gpios = <&gpio2 10 0>;
scl-gpios = <&gpio2 9 0>;
@@ -131,7 +131,7 @@ stw4811@2d {
};
- amba {
+ bus {
/* Activate RXTX on UART 0 */
uart0: serial@101fd000 {
pinctrl-names = "default";
diff --git a/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi b/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
index b90c15352c13..f635af262d96 100644
--- a/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
+++ b/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
@@ -139,7 +139,7 @@ mmcsd_default_cfg1 {
};
};
};
- i2c0 {
+ i2c-0 {
i2c0_default_mux: i2c0_mux {
i2c0_default_mux {
function = "i2c0";
@@ -153,7 +153,7 @@ i2c0_default_cfg {
};
};
};
- i2c1 {
+ i2c-1 {
i2c1_default_mux: i2c1_mux {
i2c1_default_mux {
function = "i2c1";
@@ -689,7 +689,7 @@ partition@1b80000 {
};
/* I2C0 connected to the STw4811 power management chip */
- i2c0 {
+ i2c-0 {
compatible = "st,nomadik-i2c", "arm,primecell";
reg = <0x101f8000 0x1000>;
interrupt-parent = <&vica>;
@@ -715,7 +715,7 @@ vmmc_regulator: vmmc {
};
/* I2C1 connected to various sensors */
- i2c1 {
+ i2c-1 {
compatible = "st,nomadik-i2c", "arm,primecell";
reg = <0x101f7000 0x1000>;
interrupt-parent = <&vica>;
@@ -738,7 +738,7 @@ stw5095@1a {
};
};
- amba {
+ bus {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
index 2d71366c479b..a24b113a98c2 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
@@ -215,7 +215,7 @@ led {
};
/* Bit-banged I2C on GPIO143 and GPIO144 also called "SUBPMU I2C" */
- i2c-gpio-0 {
+ i2c-gpio0 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -228,7 +228,7 @@ i2c-gpio-0 {
};
/* Bit-banged I2C on GPIO151 and GPIO152 also called "COMP I2C" */
- i2c-gpio-1 {
+ i2c-gpio1 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -689,7 +689,7 @@ codina_cfg1 {
};
};
/* GPIO-based I2C bus for subpmu */
- i2c-gpio-0 {
+ i2c-gpio0 {
i2c_gpio_0_default: i2c_gpio_0 {
codina_cfg1 {
pins = "GPIO143_D12", "GPIO144_B13";
@@ -698,7 +698,7 @@ codina_cfg1 {
};
};
/* GPIO-based I2C bus for the NFC */
- i2c-gpio-1 {
+ i2c-gpio1 {
i2c_gpio_1_default: i2c_gpio_1 {
codina_cfg1 {
pins = "GPIO151_D17", "GPIO152_D16";
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
index c81531adcd63..1ec9558ad6fe 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
@@ -285,7 +285,7 @@ led {
};
/* Bit-banged I2C on GPIO143 and GPIO144 also called "SUBPMU I2C" */
- i2c-gpio-0 {
+ i2c-gpio0 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -305,7 +305,7 @@ magnetometer@c {
};
/* Bit-banged I2C on GPIO151 and GPIO152 also called "NFC I2C" */
- i2c-gpio-1 {
+ i2c-gpio1 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -834,7 +834,7 @@ codina_cfg1 {
};
};
/* GPIO-based I2C bus for subpmu */
- i2c-gpio-0 {
+ i2c-gpio0 {
i2c_gpio_0_default: i2c_gpio_0 {
codina_cfg1 {
pins = "GPIO143_D12", "GPIO144_B13";
@@ -843,7 +843,7 @@ codina_cfg1 {
};
};
/* GPIO-based I2C bus for the NFC */
- i2c-gpio-1 {
+ i2c-gpio1 {
i2c_gpio_1_default: i2c_gpio_1 {
codina_cfg1 {
pins = "GPIO151_D17", "GPIO152_D16";
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
index 323887f8a858..4ee2d02bbaed 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
@@ -249,7 +249,7 @@ ktd259: backlight {
};
/* Bit-banged I2C on GPIO143 and GPIO144 also called "SUBPMU I2C" */
- i2c-gpio-0 {
+ i2c-gpio0 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -321,7 +321,7 @@ panel_in: endpoint {
};
/* Bit-banged I2C on GPIO201 and GPIO202 also called "MOT_I2C" */
- i2c-gpio-2 {
+ i2c-gpio2 {
compatible = "i2c-gpio";
sda-gpios = <&gpio6 10 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio6 9 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -364,7 +364,7 @@ ldo {
};
/* Bit-banged I2C on GPIO196 and GPIO197 also called "MPR_I2C" */
- i2c-gpio-3 {
+ i2c-gpio3 {
compatible = "i2c-gpio";
sda-gpios = <&gpio6 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio6 4 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -830,7 +830,7 @@ gavini_cfg1 {
};
};
/* GPIO-based I2C bus for magnetometer and NCP6914 */
- i2c-gpio-0 {
+ i2c-gpio0 {
i2c_gpio_0_default: i2c_gpio_0 {
gavini_cfg1 {
pins = "GPIO143_D12", "GPIO144_B13";
@@ -839,7 +839,7 @@ gavini_cfg1 {
};
};
/* GPIO-based I2C bus for the Immersion ISA1200 */
- i2c-gpio-2 {
+ i2c-gpio2 {
i2c_gpio_2_default: i2c_gpio_2 {
gavini_cfg1 {
pins = "GPIO201_AF24", "GPIO202_AF25";
@@ -848,7 +848,7 @@ gavini_cfg1 {
};
};
/* GPIO-based I2C bus for the TI DPP2601 */
- i2c-gpio-3 {
+ i2c-gpio3 {
i2c_gpio_3_default: i2c_gpio_3 {
gavini_cfg1 {
pins = "GPIO196_AG26", "GPIO197_AH24";
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts
index 52a54732719e..0d5106144061 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-golden.dts
@@ -56,7 +56,7 @@ bat_therm: thermistor {
#thermal-sensor-cells = <0>;
};
- i2c-gpio-0 {
+ i2c-gpio0 {
compatible = "i2c-gpio";
sda-gpios = <&gpio2 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio2 13 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -82,7 +82,7 @@ touchkey@20 {
};
};
- i2c-gpio-1 {
+ i2c-gpio1 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -554,7 +554,7 @@ golden_cfg1 {
};
};
- i2c-gpio-0 {
+ i2c-gpio0 {
i2c_gpio_0_default: i2c_gpio_0 {
golden_cfg1 {
pins = "GPIO77", /* TOUCHKEY_SCL */
@@ -573,7 +573,7 @@ golden_cfg1 {
};
};
- i2c-gpio-1 {
+ i2c-gpio1 {
i2c_gpio_1_default: i2c_gpio_1 {
golden_cfg1 {
pins = "GPIO151", /* COMP_SCL */
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
index f0ccf370710f..50634fcbd9d6 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
@@ -240,7 +240,7 @@ led {
};
/* Bit-banged I2C on GPIO143 and GPIO144 also called "SUBPMU I2C" */
- i2c-gpio-0 {
+ i2c-gpio0 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -324,7 +324,7 @@ gp2a_shunt: current-sense-shunt {
};
/* Bit-banged I2C on GPIO196 and GPIO197 also called "TOUCHKEY_I2C" */
- i2c-gpio-1 {
+ i2c-gpio1 {
compatible = "i2c-gpio";
sda-gpios = <&gpio6 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio6 4 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -352,7 +352,7 @@ touchkey@20 {
};
/* Bit-banged I2C on GPIO201 and GPIO202 also called "MOT_I2C" */
- i2c-gpio-2 {
+ i2c-gpio2 {
compatible = "i2c-gpio";
sda-gpios = <&gpio6 10 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio6 9 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -395,7 +395,7 @@ ldo {
};
/* Bit-banged I2C on GPIO151 and GPIO152 also called "NFC_I2C" */
- i2c-gpio-3 {
+ i2c-gpio3 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -905,7 +905,7 @@ janice_cfg1 {
};
};
/* GPIO-based I2C bus for magnetometer and NCP6914 */
- i2c-gpio-0 {
+ i2c-gpio0 {
i2c_gpio_0_default: i2c_gpio_0 {
janice_cfg1 {
pins = "GPIO143_D12", "GPIO144_B13";
@@ -914,7 +914,7 @@ janice_cfg1 {
};
};
/* GPIO-based I2C bus for the Cypress touchkeys */
- i2c-gpio-1 {
+ i2c-gpio1 {
i2c_gpio_1_default: i2c_gpio_1 {
janice_cfg1 {
pins = "GPIO196_AG26", "GPIO197_AH24";
@@ -923,7 +923,7 @@ janice_cfg1 {
};
};
/* GPIO-based I2C bus for the Immersion ISA1200 */
- i2c-gpio-2 {
+ i2c-gpio2 {
i2c_gpio_2_default: i2c_gpio_2 {
janice_cfg1 {
pins = "GPIO201_AF24", "GPIO202_AF25";
@@ -932,7 +932,7 @@ janice_cfg1 {
};
};
/* GPIO-based I2C bus for the NFC */
- i2c-gpio-3 {
+ i2c-gpio3 {
i2c_gpio_3_default: i2c_gpio_3 {
janice_cfg1 {
pins = "GPIO151_D17", "GPIO152_D16";
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
index 0d2d5bcc32d2..791910749c98 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
@@ -196,7 +196,7 @@ led {
};
};
- i2c-gpio-0 {
+ i2c-gpio0 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -207,7 +207,7 @@ i2c-gpio-0 {
/* TODO: this should be used by the NCP6914 Camera power management unit */
};
- i2c-gpio-1 {
+ i2c-gpio1 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -627,7 +627,7 @@ kyle_cfg1 {
};
};
/* GPIO-based I2C bus for NCP6914 */
- i2c-gpio-0 {
+ i2c-gpio0 {
i2c_gpio_0_default: i2c_gpio_0 {
kyle_cfg1 {
pins = "GPIO143_D12", "GPIO144_B13";
@@ -636,7 +636,7 @@ kyle_cfg1 {
};
};
/* GPIO-based I2C bus for ALPS HSCD compass */
- i2c-gpio-1 {
+ i2c-gpio1 {
i2c_gpio_1_default: i2c_gpio_1 {
kyle_cfg1 {
pins = "GPIO151_B17", "GPIO152_D16";
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
index 335539be55fd..b89a4922a073 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
@@ -175,7 +175,7 @@ led {
};
};
- i2c-gpio-0 {
+ i2c-gpio0 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -186,7 +186,7 @@ i2c-gpio-0 {
/* TODO: this should be used by the NCP6914 Camera power management unit */
};
- i2c-gpio-1 {
+ i2c-gpio1 {
compatible = "i2c-gpio";
sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
@@ -614,7 +614,7 @@ skomer_cfg1 {
};
};
/* GPIO-based I2C bus for NCP6914 */
- i2c-gpio-0 {
+ i2c-gpio0 {
i2c_gpio_0_default: i2c_gpio_0 {
skomer_cfg1 {
pins = "GPIO143_D12", "GPIO144_B13";
@@ -623,7 +623,7 @@ skomer_cfg1 {
};
};
/* GPIO-based I2C bus for ALPS HSCD compass */
- i2c-gpio-1 {
+ i2c-gpio1 {
i2c_gpio_1_default: i2c_gpio_1 {
skomer_cfg1 {
pins = "GPIO151_B17", "GPIO152_D16";
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 15/20] ARM: dts: ux500: Correct memory-mapped controller unit addresses
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (13 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 14/20] ARM: dts: ux500: Use valid I2C bus node names Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 16/20] ARM: dts: nomadik: Correct the camera I2C unit address Linus Walleij
` (4 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
Add missing unit addresses to the PL310 and clock controller and use
lowercase hexadecimal for DMA40. This lets the simple-bus schema
recognize their register properties. Found with CHECK_DTBS=1.
Fixes: f2b56a6b2b07 ("ARM: dts: ste: Align L2 cache-controller nodename with dtschema")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-dbx5x0.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
index 7bb09b45698d..920d07fbf00e 100644
--- a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
+++ b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
@@ -340,7 +340,7 @@ backupram@80150000 {
reg = <0x80150000 0x2000>;
};
- L2: cache-controller {
+ L2: cache-controller@a0412000 {
compatible = "arm,pl310-cache";
reg = <0xa0412000 0x1000>;
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
@@ -371,7 +371,7 @@ pm_domains: power-controller {
<DOMAIN_B2R2_MCDE>;
};
- clocks {
+ clocks@8012f000 {
compatible = "stericsson,u8500-clks";
/*
* Registers for the CLKRST block on peripheral
@@ -637,7 +637,7 @@ usb_per5@a03e0000 {
clocks = <&prcc_pclk 5 0>;
};
- dma: dma-controller@801C0000 {
+ dma: dma-controller@801c0000 {
compatible = "stericsson,db8500-dma40", "stericsson,dma40";
reg = <0x801C0000 0x1000>;
reg-names = "base";
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 16/20] ARM: dts: nomadik: Correct the camera I2C unit address
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (14 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 15/20] ARM: dts: ux500: Correct memory-mapped controller unit addresses Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 17/20] ARM: dts: nomadik: Correct controller and clock unit addresses Linus Walleij
` (3 subsequent siblings)
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The camera node has reg = <0x10>. Match its node name to that address
to fix the I2C bus warning exposed by the controller node rename.
Found with W=1 CHECK_DTBS=1.
Fixes: 09e02f4d1d3b ("ARM: nomadik: add I2C devices to the device tree")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi b/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
index f635af262d96..4eba7c943368 100644
--- a/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
+++ b/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
@@ -728,7 +728,7 @@ i2c-1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_default_mux>, <&i2c1_default_mode>;
- camera@2d {
+ camera@10 {
compatible = "st,camera";
reg = <0x10>;
};
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 17/20] ARM: dts: nomadik: Correct controller and clock unit addresses
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (15 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 16/20] ARM: dts: nomadik: Correct the camera I2C unit address Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:48 ` sashiko-bot
2026-11-26 0:37 ` [PATCH 18/20] ARM: dts: ux500: Move the pin controller out of the simple bus Linus Walleij
` (2 subsequent siblings)
19 siblings, 1 reply; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
Use the MMIO addresses in I2C and cache-controller node names. Remove
frequency and dummy unit addresses from clock nodes without reg. The
clock driver uses node names without unit addresses, so clock names
stay unchanged. Name the GPIO I2C bus i2c-bitbang to avoid the GPIO
consumer property pattern. Found with W=1 CHECK_DTBS=1.
Fixes: f2b56a6b2b07 ("ARM: dts: ste: Align L2 cache-controller nodename with dtschema")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-nomadik-nhk15.dts | 2 +-
arch/arm/boot/dts/st/ste-nomadik-s8815.dts | 2 +-
arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi | 150 +++++++++++++-------------
3 files changed, 77 insertions(+), 77 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-nomadik-nhk15.dts b/arch/arm/boot/dts/st/ste-nomadik-nhk15.dts
index ebf761059bfe..b39cee4b7021 100644
--- a/arch/arm/boot/dts/st/ste-nomadik-nhk15.dts
+++ b/arch/arm/boot/dts/st/ste-nomadik-nhk15.dts
@@ -89,7 +89,7 @@ ethernet@300 {
};
};
- i2c-0 {
+ i2c@101f8000 {
lis3lv02dl@1d {
/* Accelerometer */
compatible = "st,lis3lv02dl-accel";
diff --git a/arch/arm/boot/dts/st/ste-nomadik-s8815.dts b/arch/arm/boot/dts/st/ste-nomadik-s8815.dts
index 487b6daf07be..3941abcdb700 100644
--- a/arch/arm/boot/dts/st/ste-nomadik-s8815.dts
+++ b/arch/arm/boot/dts/st/ste-nomadik-s8815.dts
@@ -106,7 +106,7 @@ ethernet@300 {
};
};
- i2c-1 {
+ i2c@101f7000 {
lis3lv02dl@1d {
/* Accelerometer */
compatible = "st,lis3lv02dl-accel";
diff --git a/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi b/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
index 4eba7c943368..76db00fcba18 100644
--- a/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
+++ b/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
@@ -15,7 +15,7 @@ memory@0 {
<0x08000000 0x04000000>;
};
- L2: cache-controller {
+ L2: cache-controller@10210000 {
compatible = "arm,l210-cache";
reg = <0x10210000 0x1000>;
interrupt-parent = <&vica>;
@@ -139,7 +139,7 @@ mmcsd_default_cfg1 {
};
};
};
- i2c-0 {
+ i2c0 {
i2c0_default_mux: i2c0_mux {
i2c0_default_mux {
function = "i2c0";
@@ -153,7 +153,7 @@ i2c0_default_cfg {
};
};
};
- i2c-1 {
+ i2c1 {
i2c1_default_mux: i2c1_mux {
i2c1_default_mux {
function = "i2c1";
@@ -195,7 +195,7 @@ src: src@101e0000 {
* MXTAL "Main Chrystal" is a chrystal oscillator @19.2 MHz
* that is parent of TIMCLK, PLL1 and PLL2
*/
- mxtal: mxtal@19.2M {
+ mxtal: mxtal {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <19200000>;
@@ -207,7 +207,7 @@ mxtal: mxtal@19.2M {
* divided by 8. This clock is used by the timers and
* watchdog. See page 105 ff.
*/
- timclk: timclk@2.4M {
+ timclk: timclk {
#clock-cells = <0>;
compatible = "fixed-factor-clock";
clock-div = <8>;
@@ -216,7 +216,7 @@ timclk: timclk@2.4M {
};
/* PLL1 is locked to MXTALI and variable from 20.4 to 334 MHz */
- pll1: pll1@0 {
+ pll1: pll1 {
#clock-cells = <0>;
compatible = "st,nomadik-pll-clock";
pll-id = <1>;
@@ -224,13 +224,13 @@ pll1: pll1@0 {
};
/* HCLK divides the PLL1 with 1,2,3 or 4 */
- hclk: hclk@0 {
+ hclk: hclk {
#clock-cells = <0>;
compatible = "st,nomadik-hclk-clock";
clocks = <&pll1>;
};
/* The PCLK domain uses HCLK right off */
- pclk: pclk@0 {
+ pclk: pclk {
#clock-cells = <0>;
compatible = "fixed-factor-clock";
clock-div = <1>;
@@ -239,27 +239,27 @@ pclk: pclk@0 {
};
/* PLL2 is usually 864 MHz and divided into a few fixed rates */
- pll2: pll2@0 {
+ pll2: pll2 {
#clock-cells = <0>;
compatible = "st,nomadik-pll-clock";
pll-id = <2>;
clocks = <&mxtal>;
};
- clk216: clk216@216M {
+ clk216: clk216 {
#clock-cells = <0>;
compatible = "fixed-factor-clock";
clock-div = <4>;
clock-mult = <1>;
clocks = <&pll2>;
};
- clk108: clk108@108M {
+ clk108: clk108 {
#clock-cells = <0>;
compatible = "fixed-factor-clock";
clock-div = <2>;
clock-mult = <1>;
clocks = <&clk216>;
};
- clk72: clk72@72M {
+ clk72: clk72 {
#clock-cells = <0>;
compatible = "fixed-factor-clock";
/* The data sheet does not say how this is derived */
@@ -267,7 +267,7 @@ clk72: clk72@72M {
clock-mult = <1>;
clocks = <&pll2>;
};
- clk48: clk48@48M {
+ clk48: clk48 {
#clock-cells = <0>;
compatible = "fixed-factor-clock";
/* The data sheet does not say how this is derived */
@@ -275,7 +275,7 @@ clk48: clk48@48M {
clock-mult = <1>;
clocks = <&pll2>;
};
- clk27: clk27@27M {
+ clk27: clk27 {
#clock-cells = <0>;
compatible = "fixed-factor-clock";
clock-div = <4>;
@@ -284,7 +284,7 @@ clk27: clk27@27M {
};
/* This apparently exists as well */
- ulpiclk: ulpiclk@60M {
+ ulpiclk: ulpiclk {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <60000000>;
@@ -295,193 +295,193 @@ ulpiclk: ulpiclk@60M {
* peripheral clocking, clock gates.
*/
- hclkdma0: hclkdma0@48M {
+ hclkdma0: hclkdma0 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <0>;
clocks = <&hclk>;
};
- hclksmc: hclksmc@48M {
+ hclksmc: hclksmc {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <1>;
clocks = <&hclk>;
};
- hclksdram: hclksdram@48M {
+ hclksdram: hclksdram {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <2>;
clocks = <&hclk>;
};
- hclkdma1: hclkdma1@48M {
+ hclkdma1: hclkdma1 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <3>;
clocks = <&hclk>;
};
- hclkclcd: hclkclcd@48M {
+ hclkclcd: hclkclcd {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <4>;
clocks = <&hclk>;
};
- pclkirda: pclkirda@48M {
+ pclkirda: pclkirda {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <5>;
clocks = <&pclk>;
};
- pclkssp: pclkssp@48M {
+ pclkssp: pclkssp {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <6>;
clocks = <&pclk>;
};
- pclkuart0: pclkuart0@48M {
+ pclkuart0: pclkuart0 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <7>;
clocks = <&pclk>;
};
- pclksdi: pclksdi@48M {
+ pclksdi: pclksdi {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <8>;
clocks = <&pclk>;
};
- pclki2c0: pclki2c0@48M {
+ pclki2c0: pclki2c0 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <9>;
clocks = <&pclk>;
};
- pclki2c1: pclki2c1@48M {
+ pclki2c1: pclki2c1 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <10>;
clocks = <&pclk>;
};
- pclkuart1: pclkuart1@48M {
+ pclkuart1: pclkuart1 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <11>;
clocks = <&pclk>;
};
- pclkmsp0: pclkmsp0@48M {
+ pclkmsp0: pclkmsp0 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <12>;
clocks = <&pclk>;
};
- hclkusb: hclkusb@48M {
+ hclkusb: hclkusb {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <13>;
clocks = <&hclk>;
};
- hclkdif: hclkdif@48M {
+ hclkdif: hclkdif {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <14>;
clocks = <&hclk>;
};
- hclksaa: hclksaa@48M {
+ hclksaa: hclksaa {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <15>;
clocks = <&hclk>;
};
- hclksva: hclksva@48M {
+ hclksva: hclksva {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <16>;
clocks = <&hclk>;
};
- pclkhsi: pclkhsi@48M {
+ pclkhsi: pclkhsi {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <17>;
clocks = <&pclk>;
};
- pclkxti: pclkxti@48M {
+ pclkxti: pclkxti {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <18>;
clocks = <&pclk>;
};
- pclkuart2: pclkuart2@48M {
+ pclkuart2: pclkuart2 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <19>;
clocks = <&pclk>;
};
- pclkmsp1: pclkmsp1@48M {
+ pclkmsp1: pclkmsp1 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <20>;
clocks = <&pclk>;
};
- pclkmsp2: pclkmsp2@48M {
+ pclkmsp2: pclkmsp2 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <21>;
clocks = <&pclk>;
};
- pclkowm: pclkowm@48M {
+ pclkowm: pclkowm {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <22>;
clocks = <&pclk>;
};
- hclkhpi: hclkhpi@48M {
+ hclkhpi: hclkhpi {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <23>;
clocks = <&hclk>;
};
- pclkske: pclkske@48M {
+ pclkske: pclkske {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <24>;
clocks = <&pclk>;
};
- pclkhsem: pclkhsem@48M {
+ pclkhsem: pclkhsem {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <25>;
clocks = <&pclk>;
};
- hclk3d: hclk3d@48M {
+ hclk3d: hclk3d {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <26>;
clocks = <&hclk>;
};
- hclkhash: hclkhash@48M {
+ hclkhash: hclkhash {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <27>;
clocks = <&hclk>;
};
- hclkcryp: hclkcryp@48M {
+ hclkcryp: hclkcryp {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <28>;
clocks = <&hclk>;
};
- pclkmshc: pclkmshc@48M {
+ pclkmshc: pclkmshc {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <29>;
clocks = <&pclk>;
};
- hclkusbm: hclkusbm@48M {
+ hclkusbm: hclkusbm {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <30>;
clocks = <&hclk>;
};
- hclkrng: hclkrng@48M {
+ hclkrng: hclkrng {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <31>;
@@ -489,159 +489,159 @@ hclkrng: hclkrng@48M {
};
/* IP kernel clocks */
- clcdclk: clcdclk@0 {
+ clcdclk: clcdclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <36>;
clocks = <&clk72 &clk48>;
};
- irdaclk: irdaclk@48M {
+ irdaclk: irdaclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <37>;
clocks = <&clk48>;
};
- sspiclk: sspiclk@48M {
+ sspiclk: sspiclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <38>;
clocks = <&clk48>;
};
- uart0clk: uart0clk@48M {
+ uart0clk: uart0clk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <39>;
clocks = <&clk48>;
};
- sdiclk: sdiclk@48M {
+ sdiclk: sdiclk {
/* Also called MCCLK in some documents */
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <40>;
clocks = <&clk48>;
};
- i2c0clk: i2c0clk@48M {
+ i2c0clk: i2c0clk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <41>;
clocks = <&clk48>;
};
- i2c1clk: i2c1clk@48M {
+ i2c1clk: i2c1clk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <42>;
clocks = <&clk48>;
};
- uart1clk: uart1clk@48M {
+ uart1clk: uart1clk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <43>;
clocks = <&clk48>;
};
- mspclk0: mspclk0@48M {
+ mspclk0: mspclk0 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <44>;
clocks = <&clk48>;
};
- usbclk: usbclk@48M {
+ usbclk: usbclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <45>;
clocks = <&clk48>; /* 48 MHz not ULPI */
};
- difclk: difclk@72M {
+ difclk: difclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <46>;
clocks = <&clk72>;
};
- ipi2cclk: ipi2cclk@48M {
+ ipi2cclk: ipi2cclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <47>;
clocks = <&clk48>; /* Guess */
};
- ipbmcclk: ipbmcclk@48M {
+ ipbmcclk: ipbmcclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <48>;
clocks = <&clk48>; /* Guess */
};
- hsiclkrx: hsiclkrx@216M {
+ hsiclkrx: hsiclkrx {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <49>;
clocks = <&clk216>;
};
- hsiclktx: hsiclktx@108M {
+ hsiclktx: hsiclktx {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <50>;
clocks = <&clk108>;
};
- uart2clk: uart2clk@48M {
+ uart2clk: uart2clk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <51>;
clocks = <&clk48>;
};
- mspclk1: mspclk1@48M {
+ mspclk1: mspclk1 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <52>;
clocks = <&clk48>;
};
- mspclk2: mspclk2@48M {
+ mspclk2: mspclk2 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <53>;
clocks = <&clk48>;
};
- owmclk: owmclk@48M {
+ owmclk: owmclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <54>;
clocks = <&clk48>; /* Guess */
};
- skeclk: skeclk@48M {
+ skeclk: skeclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <56>;
clocks = <&clk48>; /* Guess */
};
- x3dclk: x3dclk@48M {
+ x3dclk: x3dclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <58>;
clocks = <&clk48>; /* Guess */
};
- pclkmsp3: pclkmsp3@48M {
+ pclkmsp3: pclkmsp3 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <59>;
clocks = <&pclk>;
};
- mspclk3: mspclk3@48M {
+ mspclk3: mspclk3 {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <60>;
clocks = <&clk48>;
};
- mshcclk: mshcclk@48M {
+ mshcclk: mshcclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <61>;
clocks = <&clk48>; /* Guess */
};
- usbmclk: usbmclk@48M {
+ usbmclk: usbmclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <62>;
/* Stated as "48 MHz not ULPI clock" */
clocks = <&clk48>;
};
- rngcclk: rngcclk@48M {
+ rngcclk: rngcclk {
#clock-cells = <0>;
compatible = "st,nomadik-src-clock";
clock-id = <63>;
@@ -689,7 +689,7 @@ partition@1b80000 {
};
/* I2C0 connected to the STw4811 power management chip */
- i2c-0 {
+ i2c@101f8000 {
compatible = "st,nomadik-i2c", "arm,primecell";
reg = <0x101f8000 0x1000>;
interrupt-parent = <&vica>;
@@ -715,7 +715,7 @@ vmmc_regulator: vmmc {
};
/* I2C1 connected to various sensors */
- i2c-1 {
+ i2c@101f7000 {
compatible = "st,nomadik-i2c", "arm,primecell";
reg = <0x101f7000 0x1000>;
interrupt-parent = <&vica>;
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 18/20] ARM: dts: ux500: Move the pin controller out of the simple bus
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (16 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 17/20] ARM: dts: nomadik: Correct controller and clock unit addresses Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:49 ` sashiko-bot
2026-11-26 0:37 ` [PATCH 19/20] ARM: dts: ux500: Move addressless devices " Linus Walleij
2026-11-26 0:37 ` [PATCH 20/20] ARM: dts: ux500: Connect the AB8500 ULP PLL supply Linus Walleij
19 siblings, 1 reply; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The pin controller has no MMIO resource of its own: it references the
GPIO banks and PRCMU. Move it to the root and move the board extensions
with it, since simple-bus children must have an address. Label-based
references continue to refer to the same pin configurations. Found with
CHECK_DTBS=1.
Fixes: ee04139d916a ("pinctrl/ARM: move GPIO and pinctrl deps to device tree")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-dbx5x0.dtsi | 15 +-
arch/arm/boot/dts/st/ste-href-family-pinctrl.dtsi | 369 +++++++++++-----------
arch/arm/boot/dts/st/ste-href-stuib.dtsi | 138 ++++----
arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi | 127 ++++----
arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi | 103 +++---
arch/arm/boot/dts/st/ste-href.dtsi | 15 +-
arch/arm/boot/dts/st/ste-hrefprev60.dtsi | 107 +++----
arch/arm/boot/dts/st/ste-hrefv60plus.dtsi | 359 ++++++++++-----------
arch/arm/boot/dts/st/ste-snowball.dts | 305 +++++++++---------
9 files changed, 772 insertions(+), 766 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
index 920d07fbf00e..05d91367a38a 100644
--- a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
+++ b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
@@ -107,6 +107,14 @@ map0 {
};
};
+ pinctrl: pinctrl {
+ compatible = "stericsson,db8500-pinctrl";
+ nomadik-gpio-chips = <&gpio0>, <&gpio1>, <&gpio2>, <&gpio3>,
+ <&gpio4>, <&gpio5>, <&gpio6>, <&gpio7>,
+ <&gpio8>;
+ prcm = <&prcmu>;
+ };
+
soc {
#address-cells = <1>;
#size-cells = <1>;
@@ -591,13 +599,6 @@ gpio8: gpio@a03fe000 {
power-domains = <&pm_domains DOMAIN_VAPE>;
};
- pinctrl: pinctrl {
- compatible = "stericsson,db8500-pinctrl";
- nomadik-gpio-chips = <&gpio0>, <&gpio1>, <&gpio2>, <&gpio3>,
- <&gpio4>, <&gpio5>, <&gpio6>, <&gpio7>,
- <&gpio8>;
- prcm = <&prcmu>;
- };
usb_per5@a03e0000 {
compatible = "stericsson,db8500-musb";
diff --git a/arch/arm/boot/dts/st/ste-href-family-pinctrl.dtsi b/arch/arm/boot/dts/st/ste-href-family-pinctrl.dtsi
index 434fa6baf71f..8a0ba98d0484 100644
--- a/arch/arm/boot/dts/st/ste-href-family-pinctrl.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-family-pinctrl.dtsi
@@ -6,207 +6,206 @@
#include "ste-dbx5x0-pinctrl.dtsi"
/ {
- soc {
- pinctrl {
- /* Settings for all SPI default and sleep states */
- spi2 {
- spi2_default_mode: spi_default {
- default_mux {
- function = "spi2";
- groups = "spi2_oc1_2";
- };
- default_cfg1 {
- pins = "GPIO216_AG12"; /* FRM */
- ste,config = <&gpio_out_hi>;
- };
- default_cfg2 {
- pins = "GPIO218_AH11"; /* RXD */
- ste,config = <&in_pd>;
- };
- default_cfg3 {
- pins =
- "GPIO215_AH13", /* TXD */
- "GPIO217_AH12"; /* CLK */
- ste,config = <&out_lo>;
- };
+ pinctrl {
+ /* Settings for all SPI default and sleep states */
+ spi2 {
+ spi2_default_mode: spi_default {
+ default_mux {
+ function = "spi2";
+ groups = "spi2_oc1_2";
};
+ default_cfg1 {
+ pins = "GPIO216_AG12"; /* FRM */
+ ste,config = <&gpio_out_hi>;
+ };
+ default_cfg2 {
+ pins = "GPIO218_AH11"; /* RXD */
+ ste,config = <&in_pd>;
+ };
+ default_cfg3 {
+ pins =
+ "GPIO215_AH13", /* TXD */
+ "GPIO217_AH12"; /* CLK */
+ ste,config = <&out_lo>;
+ };
+ };
- spi2_idle_mode: spi_idle {
- /*
- * The idle mode is basically sleep mode sans wakeups. Also
- * note that we have muxes the pins off the function here
- * as we do not state any muxing.
- */
- idle_cfg1 {
- pins = "GPIO218_AH11"; /* RXD */
- ste,config = <&slpm_in_pdis>;
- };
- idle_cfg2 {
- pins = "GPIO215_AH13"; /* TXD */
- ste,config = <&slpm_out_lo_pdis>;
- };
- idle_cfg3 {
- pins = "GPIO217_AH12"; /* CLK */
- ste,config = <&slpm_pdis>;
- };
+ spi2_idle_mode: spi_idle {
+ /*
+ * The idle mode is basically sleep mode sans wakeups. Also
+ * note that we have muxes the pins off the function here
+ * as we do not state any muxing.
+ */
+ idle_cfg1 {
+ pins = "GPIO218_AH11"; /* RXD */
+ ste,config = <&slpm_in_pdis>;
+ };
+ idle_cfg2 {
+ pins = "GPIO215_AH13"; /* TXD */
+ ste,config = <&slpm_out_lo_pdis>;
+ };
+ idle_cfg3 {
+ pins = "GPIO217_AH12"; /* CLK */
+ ste,config = <&slpm_pdis>;
};
+ };
- spi2_sleep_mode: spi_sleep {
- sleep_cfg1 {
- pins =
- "GPIO216_AG12", /* FRM */
- "GPIO218_AH11"; /* RXD */
- ste,config = <&slpm_in_wkup_pdis>;
- };
- sleep_cfg2 {
- pins = "GPIO215_AH13"; /* TXD */
- ste,config = <&slpm_out_lo_wkup_pdis>;
- };
- sleep_cfg3 {
- pins = "GPIO217_AH12"; /* CLK */
- ste,config = <&slpm_wkup_pdis>;
- };
+ spi2_sleep_mode: spi_sleep {
+ sleep_cfg1 {
+ pins =
+ "GPIO216_AG12", /* FRM */
+ "GPIO218_AH11"; /* RXD */
+ ste,config = <&slpm_in_wkup_pdis>;
+ };
+ sleep_cfg2 {
+ pins = "GPIO215_AH13"; /* TXD */
+ ste,config = <&slpm_out_lo_wkup_pdis>;
+ };
+ sleep_cfg3 {
+ pins = "GPIO217_AH12"; /* CLK */
+ ste,config = <&slpm_wkup_pdis>;
};
};
+ };
- mcde {
- lcd_default_mode: lcd_default {
- default_mux1 {
- /* Mux in VSI0 and all the data lines */
- function = "lcd";
- groups =
- "lcdvsi0_a_1", /* VSI0 for LCD */
- "lcd_d0_d7_a_1", /* Data lines */
- "lcdvsi1_a_1"; /* VSI1 for HDMI */
- };
- default_mux2 {
- function = "lcda";
- groups =
- "lcdaclk_b_1"; /* Clock line for TV-out */
- };
- default_cfg1 {
- pins =
- "GPIO68_E1", /* VSI0 */
- "GPIO69_E2"; /* VSI1 */
- ste,config = <&in_pu>;
- };
- };
- lcd_sleep_mode: lcd_sleep {
- sleep_cfg1 {
- pins = "GPIO69_E2"; /* VSI1 */
- ste,config = <&slpm_in_wkup_pdis>;
- };
+ mcde {
+ lcd_default_mode: lcd_default {
+ default_mux1 {
+ /* Mux in VSI0 and all the data lines */
+ function = "lcd";
+ groups =
+ "lcdvsi0_a_1", /* VSI0 for LCD */
+ "lcd_d0_d7_a_1", /* Data lines */
+ "lcdvsi1_a_1"; /* VSI1 for HDMI */
+ };
+ default_mux2 {
+ function = "lcda";
+ groups =
+ "lcdaclk_b_1"; /* Clock line for TV-out */
+ };
+ default_cfg1 {
+ pins =
+ "GPIO68_E1", /* VSI0 */
+ "GPIO69_E2"; /* VSI1 */
+ ste,config = <&in_pu>;
+ };
+ };
+ lcd_sleep_mode: lcd_sleep {
+ sleep_cfg1 {
+ pins = "GPIO69_E2"; /* VSI1 */
+ ste,config = <&slpm_in_wkup_pdis>;
};
};
+ };
- ske {
- /* SKE keys on position 2 in an 8x8 matrix */
- ske_kpa2_default_mode: ske_kpa2_default {
- default_mux {
- function = "kp";
- groups = "kp_a_2";
- };
- default_cfg1 {
- pins =
- "GPIO153_B17", /* I7 */
- "GPIO154_C16", /* I6 */
- "GPIO155_C19", /* I5 */
- "GPIO156_C17", /* I4 */
- "GPIO161_D21", /* I3 */
- "GPIO162_D20", /* I2 */
- "GPIO163_C20", /* I1 */
- "GPIO164_B21"; /* I0 */
- ste,config = <&in_pd>;
- };
- default_cfg2 {
- pins =
- "GPIO157_A18", /* O7 */
- "GPIO158_C18", /* O6 */
- "GPIO159_B19", /* O5 */
- "GPIO160_B20", /* O4 */
- "GPIO165_C21", /* O3 */
- "GPIO166_A22", /* O2 */
- "GPIO167_B24", /* O1 */
- "GPIO168_C22"; /* O0 */
- ste,config = <&out_lo>;
- };
- };
- ske_kpa2_sleep_mode: ske_kpa2_sleep {
- sleep_cfg1 {
- pins =
- "GPIO153_B17", /* I7 */
- "GPIO154_C16", /* I6 */
- "GPIO155_C19", /* I5 */
- "GPIO156_C17", /* I4 */
- "GPIO161_D21", /* I3 */
- "GPIO162_D20", /* I2 */
- "GPIO163_C20", /* I1 */
- "GPIO164_B21"; /* I0 */
- ste,config = <&slpm_in_pu_wkup_pdis_en>;
- };
- sleep_cfg2 {
- pins =
- "GPIO157_A18", /* O7 */
- "GPIO158_C18", /* O6 */
- "GPIO159_B19", /* O5 */
- "GPIO160_B20", /* O4 */
- "GPIO165_C21", /* O3 */
- "GPIO166_A22", /* O2 */
- "GPIO167_B24", /* O1 */
- "GPIO168_C22"; /* O0 */
- ste,config = <&slpm_out_lo_pdis>;
- };
+ ske {
+ /* SKE keys on position 2 in an 8x8 matrix */
+ ske_kpa2_default_mode: ske_kpa2_default {
+ default_mux {
+ function = "kp";
+ groups = "kp_a_2";
};
- /*
- * SKE keys on position 1 and "other C1" combi giving
- * six rows of six keys.
- */
- ske_kpaoc1_default_mode: ske_kpaoc1_default {
- default_mux {
- function = "kp";
- groups = "kp_a_1", "kp_oc1_1";
- };
- default_cfg1 {
- pins =
- "GPIO91_B6", /* KP_O0 */
- "GPIO90_A3", /* KP_O1 */
- "GPIO87_B3", /* KP_O2 */
- "GPIO86_C6", /* KP_O3 */
- "GPIO96_D8", /* KP_O6 */
- "GPIO94_D7"; /* KP_O7 */
- ste,config = <&out_lo>;
- };
- default_cfg2 {
- pins =
- "GPIO93_B7", /* KP_I0 */
- "GPIO92_D6", /* KP_I1 */
- "GPIO89_E6", /* KP_I2 */
- "GPIO88_C4", /* KP_I3 */
- "GPIO97_D9", /* KP_I6 */
- "GPIO95_E8"; /* KP_I7 */
- ste,config = <&in_pu>;
- };
+ default_cfg1 {
+ pins =
+ "GPIO153_B17", /* I7 */
+ "GPIO154_C16", /* I6 */
+ "GPIO155_C19", /* I5 */
+ "GPIO156_C17", /* I4 */
+ "GPIO161_D21", /* I3 */
+ "GPIO162_D20", /* I2 */
+ "GPIO163_C20", /* I1 */
+ "GPIO164_B21"; /* I0 */
+ ste,config = <&in_pd>;
+ };
+ default_cfg2 {
+ pins =
+ "GPIO157_A18", /* O7 */
+ "GPIO158_C18", /* O6 */
+ "GPIO159_B19", /* O5 */
+ "GPIO160_B20", /* O4 */
+ "GPIO165_C21", /* O3 */
+ "GPIO166_A22", /* O2 */
+ "GPIO167_B24", /* O1 */
+ "GPIO168_C22"; /* O0 */
+ ste,config = <&out_lo>;
+ };
+ };
+ ske_kpa2_sleep_mode: ske_kpa2_sleep {
+ sleep_cfg1 {
+ pins =
+ "GPIO153_B17", /* I7 */
+ "GPIO154_C16", /* I6 */
+ "GPIO155_C19", /* I5 */
+ "GPIO156_C17", /* I4 */
+ "GPIO161_D21", /* I3 */
+ "GPIO162_D20", /* I2 */
+ "GPIO163_C20", /* I1 */
+ "GPIO164_B21"; /* I0 */
+ ste,config = <&slpm_in_pu_wkup_pdis_en>;
+ };
+ sleep_cfg2 {
+ pins =
+ "GPIO157_A18", /* O7 */
+ "GPIO158_C18", /* O6 */
+ "GPIO159_B19", /* O5 */
+ "GPIO160_B20", /* O4 */
+ "GPIO165_C21", /* O3 */
+ "GPIO166_A22", /* O2 */
+ "GPIO167_B24", /* O1 */
+ "GPIO168_C22"; /* O0 */
+ ste,config = <&slpm_out_lo_pdis>;
+ };
+ };
+ /*
+ * SKE keys on position 1 and "other C1" combi giving
+ * six rows of six keys.
+ */
+ ske_kpaoc1_default_mode: ske_kpaoc1_default {
+ default_mux {
+ function = "kp";
+ groups = "kp_a_1", "kp_oc1_1";
+ };
+ default_cfg1 {
+ pins =
+ "GPIO91_B6", /* KP_O0 */
+ "GPIO90_A3", /* KP_O1 */
+ "GPIO87_B3", /* KP_O2 */
+ "GPIO86_C6", /* KP_O3 */
+ "GPIO96_D8", /* KP_O6 */
+ "GPIO94_D7"; /* KP_O7 */
+ ste,config = <&out_lo>;
+ };
+ default_cfg2 {
+ pins =
+ "GPIO93_B7", /* KP_I0 */
+ "GPIO92_D6", /* KP_I1 */
+ "GPIO89_E6", /* KP_I2 */
+ "GPIO88_C4", /* KP_I3 */
+ "GPIO97_D9", /* KP_I6 */
+ "GPIO95_E8"; /* KP_I7 */
+ ste,config = <&in_pu>;
};
};
+ };
- wlan {
- wlan_default_mode: wlan_default {
- /*
- * Activate this mode with the WLAN chip.
- * These are plain GPIO pins used by WLAN
- */
- default_cfg1 {
- pins =
- "GPIO226_AF8", /* WLAN_PMU_EN */
- "GPIO85_D5"; /* WLAN_ENA */
- ste,config = <&gpio_out_lo>;
- };
- default_cfg2 {
- pins = "GPIO4_AH6"; /* WLAN_IRQ on UART1 */
- ste,config = <&gpio_in_pu>;
- };
+ wlan {
+ wlan_default_mode: wlan_default {
+ /*
+ * Activate this mode with the WLAN chip.
+ * These are plain GPIO pins used by WLAN
+ */
+ default_cfg1 {
+ pins =
+ "GPIO226_AF8", /* WLAN_PMU_EN */
+ "GPIO85_D5"; /* WLAN_ENA */
+ ste,config = <&gpio_out_lo>;
+ };
+ default_cfg2 {
+ pins = "GPIO4_AH6"; /* WLAN_IRQ on UART1 */
+ ste,config = <&gpio_in_pu>;
};
};
};
};
+
};
diff --git a/arch/arm/boot/dts/st/ste-href-stuib.dtsi b/arch/arm/boot/dts/st/ste-href-stuib.dtsi
index e2bd0418bb7a..b3b0e681f628 100644
--- a/arch/arm/boot/dts/st/ste-href-stuib.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-stuib.dtsi
@@ -25,6 +25,75 @@ button-145 {
};
};
+ pinctrl {
+ /* Pull up this GPIO pin */
+ stmpe {
+ stmpe_stuib_mode: stmpe_stuib {
+ stuib_cfg {
+ pins = "GPIO218_AH11";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ prox {
+ prox_stuib_mode: prox_stuib {
+ stuib_cfg {
+ pins = "GPIO217_AH12";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ hall {
+ hall_stuib_mode: stuib_tvk {
+ stuib_cfg {
+ pins = "GPIO145_C13";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ accelerometer {
+ accel_stuib_mode: accel_stuib {
+ /* Accelerometer interrupt lines 1 & 2 */
+ stuib_cfg {
+ pins = "GPIO82_C1", "GPIO83_D3";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ magnetometer {
+ magneto_stuib_mode: magneto_stuib {
+ /* Magnetometer uses GPIO 31 and 32, pull these up/down respectively */
+ stuib_cfg1 {
+ pins = "GPIO31_V3";
+ ste,config = <&gpio_in_pu>;
+ };
+ stuib_cfg2 {
+ pins = "GPIO32_V2";
+ ste,config = <&gpio_in_pd>;
+ };
+ };
+ };
+ touch {
+ touch_rohm_mode: touch_rohm {
+ /*
+ * ROHM touch screen uses GPIO 143 for
+ * RST1, GPIO 146 for RST2 and
+ * GPIO 67 for interrupts. Pull-up
+ * the IRQ line and drive both
+ * reset signals low.
+ */
+ stuib_cfg1 {
+ pins = "GPIO143_D12", "GPIO146_D13";
+ ste,config = <&gpio_out_lo>;
+ };
+ stuib_cfg2 {
+ pins = "GPIO67_G2";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ };
+
soc {
i2c@80004000 {
stmpe1601: port-expander@40 {
@@ -123,75 +192,6 @@ bu21013_tp@5d {
};
};
- pinctrl {
- /* Pull up this GPIO pin */
- stmpe {
- stmpe_stuib_mode: stmpe_stuib {
- stuib_cfg {
- pins = "GPIO218_AH11";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- prox {
- prox_stuib_mode: prox_stuib {
- stuib_cfg {
- pins = "GPIO217_AH12";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- hall {
- hall_stuib_mode: stuib_tvk {
- stuib_cfg {
- pins = "GPIO145_C13";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- accelerometer {
- accel_stuib_mode: accel_stuib {
- /* Accelerometer interrupt lines 1 & 2 */
- stuib_cfg {
- pins = "GPIO82_C1", "GPIO83_D3";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- magnetometer {
- magneto_stuib_mode: magneto_stuib {
- /* Magnetometer uses GPIO 31 and 32, pull these up/down respectively */
- stuib_cfg1 {
- pins = "GPIO31_V3";
- ste,config = <&gpio_in_pu>;
- };
- stuib_cfg2 {
- pins = "GPIO32_V2";
- ste,config = <&gpio_in_pd>;
- };
- };
- };
- touch {
- touch_rohm_mode: touch_rohm {
- /*
- * ROHM touch screen uses GPIO 143 for
- * RST1, GPIO 146 for RST2 and
- * GPIO 67 for interrupts. Pull-up
- * the IRQ line and drive both
- * reset signals low.
- */
- stuib_cfg1 {
- pins = "GPIO143_D12", "GPIO146_D13";
- ste,config = <&gpio_out_lo>;
- };
- stuib_cfg2 {
- pins = "GPIO67_G2";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- };
-
mcde@a0350000 {
status = "okay";
diff --git a/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi b/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi
index 4a2bfa4c702b..ecec418e29e0 100644
--- a/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi
@@ -26,6 +26,70 @@ button-145 {
};
};
+ pinctrl {
+ prox {
+ prox_tvk_mode: prox_tvk {
+ tvk_cfg {
+ pins = "GPIO217_AH12";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ hall {
+ hall_tvk_mode: hall_tvk {
+ tvk_cfg {
+ pins = "GPIO145_C13";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ tc35893 {
+ /* IRQ from the TC35893 */
+ tc35893_tvk_mode: tc35893_tvk {
+ tvk_cfg {
+ pins = "GPIO218_AH11";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ accelerometer {
+ accel_tvk_mode: accel_tvk {
+ /* Accelerometer interrupt lines 1 & 2 */
+ tvk_cfg {
+ pins = "GPIO82_C1", "GPIO83_D3";
+ ste,config = <&gpio_in_pd>;
+ };
+ };
+ };
+ gyroscope {
+ /*
+ * These lines are shared between Gyroscope l3g400dh
+ * and AK8974 magnetometer.
+ */
+ gyro_magn_tvk_mode: gyro_magn_tvk {
+ /* GPIO 31 used for INT pull down the line */
+ tvk_cfg1 {
+ pins = "GPIO31_V3";
+ ste,config = <&gpio_in_pd>;
+ };
+ /* GPIO 32 used for DRDY, pull this down */
+ tvk_cfg2 {
+ pins = "GPIO32_V2";
+ ste,config = <&gpio_in_pd>;
+ };
+ };
+ };
+ synaptics {
+ synaptics_tvk_mode: synaptics_tvk {
+ /* Touchscreen uses GPIO 84 */
+ tvk_cfg1 {
+ pins = "GPIO84_C2";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ };
+
soc {
i2c@80004000 {
tc35893@44 {
@@ -219,68 +283,5 @@ panel@0 {
};
};
};
- pinctrl {
- prox {
- prox_tvk_mode: prox_tvk {
- tvk_cfg {
- pins = "GPIO217_AH12";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- hall {
- hall_tvk_mode: hall_tvk {
- tvk_cfg {
- pins = "GPIO145_C13";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- tc35893 {
- /* IRQ from the TC35893 */
- tc35893_tvk_mode: tc35893_tvk {
- tvk_cfg {
- pins = "GPIO218_AH11";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- accelerometer {
- accel_tvk_mode: accel_tvk {
- /* Accelerometer interrupt lines 1 & 2 */
- tvk_cfg {
- pins = "GPIO82_C1", "GPIO83_D3";
- ste,config = <&gpio_in_pd>;
- };
- };
- };
- gyroscope {
- /*
- * These lines are shared between Gyroscope l3g400dh
- * and AK8974 magnetometer.
- */
- gyro_magn_tvk_mode: gyro_magn_tvk {
- /* GPIO 31 used for INT pull down the line */
- tvk_cfg1 {
- pins = "GPIO31_V3";
- ste,config = <&gpio_in_pd>;
- };
- /* GPIO 32 used for DRDY, pull this down */
- tvk_cfg2 {
- pins = "GPIO32_V2";
- ste,config = <&gpio_in_pd>;
- };
- };
- };
- synaptics {
- synaptics_tvk_mode: synaptics_tvk {
- /* Touchscreen uses GPIO 84 */
- tvk_cfg1 {
- pins = "GPIO84_C2";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- };
};
};
diff --git a/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi b/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi
index adb8d0be6f73..527432ce120c 100644
--- a/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi
+++ b/arch/arm/boot/dts/st/ste-href-tvk1281618-r3.dtsi
@@ -21,6 +21,58 @@ button-145 {
};
};
+ pinctrl {
+ hall {
+ hall_tvk_mode: hall_tvk {
+ tvk_cfg {
+ pins = "GPIO145_C13";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ tc35893 {
+ /* IRQ from the TC35893 */
+ tc35893_tvk_mode: tc35893_tvk {
+ tvk_cfg {
+ pins = "GPIO64_F3";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ accelerometer {
+ accel_tvk_mode: accel_tvk {
+ /* Accelerometer interrupt lines 1 & 2 */
+ tvk_cfg {
+ pins = "GPIO82_C1", "GPIO83_D3";
+ ste,config = <&gpio_in_pd>;
+ };
+ };
+ };
+ magnetometer {
+ magn_tvk_mode: magn_tvk {
+ /* GPIO 32 used for DRDY, pull this down */
+ tvk_cfg {
+ pins = "GPIO32_V2";
+ ste,config = <&gpio_in_pd>;
+ };
+ };
+ };
+ cyttsp {
+ cyttsp_tvk_mode: cyttsp_tvk {
+ /* Touchscreen uses GPIO84 for IRQ */
+ tvk_cfg1 {
+ pins = "GPIO84_C2";
+ ste,config = <&gpio_in_pu>;
+ };
+ /* GPIO143 is reset */
+ tvk_cfg2 {
+ pins = "GPIO143_D12";
+ ste,config = <&gpio_out_hi>;
+ };
+ };
+ };
+ };
+
soc {
i2c@80004000 {
tc35893@44 {
@@ -162,56 +214,5 @@ panel@0 {
};
};
- pinctrl {
- hall {
- hall_tvk_mode: hall_tvk {
- tvk_cfg {
- pins = "GPIO145_C13";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- tc35893 {
- /* IRQ from the TC35893 */
- tc35893_tvk_mode: tc35893_tvk {
- tvk_cfg {
- pins = "GPIO64_F3";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- accelerometer {
- accel_tvk_mode: accel_tvk {
- /* Accelerometer interrupt lines 1 & 2 */
- tvk_cfg {
- pins = "GPIO82_C1", "GPIO83_D3";
- ste,config = <&gpio_in_pd>;
- };
- };
- };
- magnetometer {
- magn_tvk_mode: magn_tvk {
- /* GPIO 32 used for DRDY, pull this down */
- tvk_cfg {
- pins = "GPIO32_V2";
- ste,config = <&gpio_in_pd>;
- };
- };
- };
- cyttsp {
- cyttsp_tvk_mode: cyttsp_tvk {
- /* Touchscreen uses GPIO84 for IRQ */
- tvk_cfg1 {
- pins = "GPIO84_C2";
- ste,config = <&gpio_in_pu>;
- };
- /* GPIO143 is reset */
- tvk_cfg2 {
- pins = "GPIO143_D12";
- ste,config = <&gpio_out_hi>;
- };
- };
- };
- };
};
};
diff --git a/arch/arm/boot/dts/st/ste-href.dtsi b/arch/arm/boot/dts/st/ste-href.dtsi
index 459f82134d03..253f4795978f 100644
--- a/arch/arm/boot/dts/st/ste-href.dtsi
+++ b/arch/arm/boot/dts/st/ste-href.dtsi
@@ -44,6 +44,14 @@ bat_therm: thermistor {
#thermal-sensor-cells = <0>;
};
+ pinctrl {
+ sdi0 {
+ sdi0_default_mode: sdi0_default {
+ /* Some boards set additional settings here */
+ };
+ };
+ };
+
soc {
serial@80120000 {
pinctrl-names = "default", "sleep";
@@ -242,13 +250,6 @@ msp3: msp@80125000 {
status = "okay";
};
- pinctrl {
- sdi0 {
- sdi0_default_mode: sdi0_default {
- /* Some boards set additional settings here */
- };
- };
- };
mcde@a0350000 {
pinctrl-names = "default", "sleep";
diff --git a/arch/arm/boot/dts/st/ste-hrefprev60.dtsi b/arch/arm/boot/dts/st/ste-hrefprev60.dtsi
index 5686d777311f..6bbc745febe8 100644
--- a/arch/arm/boot/dts/st/ste-hrefprev60.dtsi
+++ b/arch/arm/boot/dts/st/ste-hrefprev60.dtsi
@@ -15,6 +15,60 @@ button-139 {
};
};
+ pinctrl {
+ /* Set this up using hogs */
+ pinctrl-names = "default";
+ pinctrl-0 = <&ipgpio_hrefprev60_mode>;
+
+ ssp0 {
+ ssp0_hrefprev60_mode: ssp0_hrefprev60_default {
+ hrefprev60_mux {
+ function = "ssp0";
+ groups = "ssp0_a_1";
+ };
+ hrefprev60_cfg1 {
+ pins = "GPIO145_C13"; /* RXD */
+ ste,config = <&in_pd>;
+ };
+
+ };
+ };
+ sdi0 {
+ /* This additional pin needed on early MOP500 and HREFs previous to v60 */
+ sdi0_default_mode: sdi0_default {
+ hrefprev60_mux {
+ function = "mc0";
+ groups = "mc0dat31dir_a_1";
+ };
+ hrefprev60_cfg1 {
+ pins = "GPIO21_AB3"; /* DAT31DIR */
+ ste,config = <&out_hi>;
+ };
+
+ };
+ };
+ tc35892 {
+ tc35892_hrefprev60_mode: tc35892_hrefprev60 {
+ hrefprev60_cfg {
+ pins = "GPIO217_AH12";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ ipgpio {
+ ipgpio_hrefprev60_mode: ipgpio_hrefprev60 {
+ hrefprev60_mux {
+ function = "ipgpio";
+ groups = "ipgpio0_c_1", "ipgpio1_c_1";
+ };
+ hrefprev60_cfg1 {
+ pins = "GPIO6_AF6", "GPIO7_AG5";
+ ste,config = <&in_pu>;
+ };
+ };
+ };
+ };
+
soc {
/* Enable UART1 on this board */
serial@80121000 {
@@ -65,58 +119,5 @@ mmc@80126000 {
cd-gpios = <&tc3589x_gpio 3 GPIO_ACTIVE_HIGH>;
};
- pinctrl {
- /* Set this up using hogs */
- pinctrl-names = "default";
- pinctrl-0 = <&ipgpio_hrefprev60_mode>;
-
- ssp0 {
- ssp0_hrefprev60_mode: ssp0_hrefprev60_default {
- hrefprev60_mux {
- function = "ssp0";
- groups = "ssp0_a_1";
- };
- hrefprev60_cfg1 {
- pins = "GPIO145_C13"; /* RXD */
- ste,config = <&in_pd>;
- };
-
- };
- };
- sdi0 {
- /* This additional pin needed on early MOP500 and HREFs previous to v60 */
- sdi0_default_mode: sdi0_default {
- hrefprev60_mux {
- function = "mc0";
- groups = "mc0dat31dir_a_1";
- };
- hrefprev60_cfg1 {
- pins = "GPIO21_AB3"; /* DAT31DIR */
- ste,config = <&out_hi>;
- };
-
- };
- };
- tc35892 {
- tc35892_hrefprev60_mode: tc35892_hrefprev60 {
- hrefprev60_cfg {
- pins = "GPIO217_AH12";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- ipgpio {
- ipgpio_hrefprev60_mode: ipgpio_hrefprev60 {
- hrefprev60_mux {
- function = "ipgpio";
- groups = "ipgpio0_c_1", "ipgpio1_c_1";
- };
- hrefprev60_cfg1 {
- pins = "GPIO6_AF6", "GPIO7_AG5";
- ste,config = <&in_pu>;
- };
- };
- };
- };
};
};
diff --git a/arch/arm/boot/dts/st/ste-hrefv60plus.dtsi b/arch/arm/boot/dts/st/ste-hrefv60plus.dtsi
index c9e9ef830988..2d9d5607a78a 100644
--- a/arch/arm/boot/dts/st/ste-hrefv60plus.dtsi
+++ b/arch/arm/boot/dts/st/ste-hrefv60plus.dtsi
@@ -67,6 +67,186 @@ therm2: thermistor-1 {
#thermal-sensor-cells = <0>;
};
+ pinctrl {
+ /*
+ * Set this up using hogs, as time goes by and as seems fit, these
+ * can be moved over to being controlled by respective device.
+ */
+ pinctrl-names = "default";
+ pinctrl-0 = <&ipgpio_hrefv60_mode>,
+ <&etm_hrefv60_mode>,
+ <&nahj_hrefv60_mode>,
+ <&nfc_hrefv60_mode>,
+ <&force_hrefv60_mode>,
+ <&dipro_hrefv60_mode>,
+ <&vaudio_hf_hrefv60_mode>,
+ <&gbf_hrefv60_mode>,
+ <&hdtv_hrefv60_mode>,
+ <&gpios_hrefv60_mode>;
+
+ sdi0 {
+ sdi0_default_mode: sdi0_default {
+ /* SD card detect GPIO pin, extend default state */
+ default_hrefv60_cfg1 {
+ pins = "GPIO95_E8";
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ ipgpio {
+ /*
+ * XENON Flashgun on image processor GPIO (controlled from image
+ * processor firmware), mux in these image processor GPIO lines 0
+ * (XENON_FLASH_ID), 1 (XENON_READY) and there is an assistant
+ * LED on IP GPIO 4 (XENON_EN2) on altfunction C, that need bias
+ * from GPIO21 so pull up 0, 1 and drive 4 and GPIO21 low as output.
+ */
+ ipgpio_hrefv60_mode: ipgpio_hrefv60 {
+ hrefv60_mux {
+ function = "ipgpio";
+ groups = "ipgpio0_c_1", "ipgpio1_c_1", "ipgpio4_c_1";
+ };
+ hrefv60_cfg1 {
+ pins = "GPIO6_AF6", "GPIO7_AG5";
+ ste,config = <&in_pu>;
+ };
+ hrefv60_cfg2 {
+ pins = "GPIO21_AB3";
+ ste,config = <&gpio_out_lo>;
+ };
+ hrefv60_cfg3 {
+ pins = "GPIO64_F3";
+ ste,config = <&out_lo>;
+ };
+ };
+ };
+ etm {
+ /*
+ * Drive D19-D23 for the ETM PTM trace interface low,
+ * (presumably pins are unconnected therefore grounded here,
+ * the "other alt C1" setting enables these pins)
+ */
+ etm_hrefv60_mode: etm_hrefv60 {
+ hrefv60_cfg1 {
+ pins =
+ "GPIO70_G5",
+ "GPIO71_G4",
+ "GPIO72_H4",
+ "GPIO73_H3",
+ "GPIO74_J3";
+ ste,config = <&gpio_out_lo>;
+ };
+ };
+ };
+ nahj {
+ nahj_hrefv60_mode: nahj_hrefv60 {
+ /* NAHJ CTRL on GPIO76 to low, CTRL_INV on GPIO216 to high */
+ hrefv60_cfg1 {
+ pins = "GPIO76_J2";
+ ste,config = <&gpio_out_lo>;
+ };
+ hrefv60_cfg2 {
+ pins = "GPIO216_AG12";
+ ste,config = <&gpio_out_hi>;
+ };
+ };
+ };
+ nfc {
+ nfc_hrefv60_mode: nfc_hrefv60 {
+ /* NFC ENA and RESET to low, pulldown IRQ line */
+ hrefv60_cfg1 {
+ pins =
+ "GPIO77_H1", /* NFC_ENA */
+ "GPIO142_C11"; /* NFC_RESET */
+ ste,config = <&gpio_out_lo>;
+ };
+ hrefv60_cfg2 {
+ pins = "GPIO144_B13"; /* NFC_IRQ */
+ ste,config = <&gpio_in_pd>;
+ };
+ };
+ };
+ force {
+ force_hrefv60_mode: force_hrefv60 {
+ hrefv60_cfg1 {
+ pins = "GPIO91_B6"; /* FORCE_SENSING_INT */
+ ste,config = <&gpio_in_pu>;
+ };
+ hrefv60_cfg2 {
+ pins =
+ "GPIO92_D6", /* FORCE_SENSING_RST */
+ "GPIO97_D9"; /* FORCE_SENSING_WU */
+ ste,config = <&gpio_out_lo>;
+ };
+ };
+ };
+ dipro {
+ dipro_hrefv60_mode: dipro_hrefv60 {
+ hrefv60_cfg1 {
+ pins = "GPIO139_C9"; /* DIPRO_INT */
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ vaudio_hf {
+ vaudio_hf_hrefv60_mode: vaudio_hf_hrefv60 {
+ /* Audio Amplifier HF enable GPIO */
+ hrefv60_cfg1 {
+ pins = "GPIO149_B14"; /* VAUDIO_HF_EN, enable MAX8968 */
+ ste,config = <&gpio_out_hi>;
+ };
+ };
+ };
+ gbf {
+ gbf_hrefv60_mode: gbf_hrefv60 {
+ /*
+ * GBF (GPS, Bluetooth, FM-radio) interface,
+ * pull low to reset state
+ */
+ hrefv60_cfg1 {
+ pins = "GPIO171_D23"; /* GBF_ENA_RESET */
+ ste,config = <&gpio_out_lo>;
+ };
+ };
+ };
+ hdtv {
+ hdtv_hrefv60_mode: hdtv_hrefv60 {
+ /* MSP : HDTV INTERFACE GPIO line */
+ hrefv60_cfg1 {
+ pins = "GPIO192_AJ27";
+ ste,config = <&gpio_in_pd>;
+ };
+ };
+ };
+ mcde {
+ lcd_hrefv60_mode: lcd_hrefv60 {
+ /*
+ * Display Interface 1 uses GPIO 65 for RST (reset).
+ * Display Interface 2 uses GPIO 66 for RST (reset).
+ * Drive DISP1 reset high (not reset), driver DISP2 reset low (reset)
+ */
+ hrefv60_cfg1 {
+ pins = "GPIO65_F1";
+ ste,config = <&gpio_out_hi>;
+ };
+ hrefv60_cfg2 {
+ pins = "GPIO66_G3";
+ ste,config = <&gpio_out_lo>;
+ };
+ };
+ };
+ dangling-pins {
+ /* Dangling GPIO pins */
+ gpios_hrefv60_mode: gpios_hrefv60 {
+ default_cfg1 {
+ /* Normally UART1 RXD, now dangling */
+ pins = "GPIO4_AH6";
+ ste,config = <&in_pu>;
+ };
+ };
+ };
+ };
+
soc {
/* Name the GPIO muxed rails on the HREF boards */
gpio@8012e000 {
@@ -193,184 +373,5 @@ mmc@80126000 {
cd-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; // 95
};
- pinctrl {
- /*
- * Set this up using hogs, as time goes by and as seems fit, these
- * can be moved over to being controlled by respective device.
- */
- pinctrl-names = "default";
- pinctrl-0 = <&ipgpio_hrefv60_mode>,
- <&etm_hrefv60_mode>,
- <&nahj_hrefv60_mode>,
- <&nfc_hrefv60_mode>,
- <&force_hrefv60_mode>,
- <&dipro_hrefv60_mode>,
- <&vaudio_hf_hrefv60_mode>,
- <&gbf_hrefv60_mode>,
- <&hdtv_hrefv60_mode>,
- <&gpios_hrefv60_mode>;
-
- sdi0 {
- sdi0_default_mode: sdi0_default {
- /* SD card detect GPIO pin, extend default state */
- default_hrefv60_cfg1 {
- pins = "GPIO95_E8";
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- ipgpio {
- /*
- * XENON Flashgun on image processor GPIO (controlled from image
- * processor firmware), mux in these image processor GPIO lines 0
- * (XENON_FLASH_ID), 1 (XENON_READY) and there is an assistant
- * LED on IP GPIO 4 (XENON_EN2) on altfunction C, that need bias
- * from GPIO21 so pull up 0, 1 and drive 4 and GPIO21 low as output.
- */
- ipgpio_hrefv60_mode: ipgpio_hrefv60 {
- hrefv60_mux {
- function = "ipgpio";
- groups = "ipgpio0_c_1", "ipgpio1_c_1", "ipgpio4_c_1";
- };
- hrefv60_cfg1 {
- pins = "GPIO6_AF6", "GPIO7_AG5";
- ste,config = <&in_pu>;
- };
- hrefv60_cfg2 {
- pins = "GPIO21_AB3";
- ste,config = <&gpio_out_lo>;
- };
- hrefv60_cfg3 {
- pins = "GPIO64_F3";
- ste,config = <&out_lo>;
- };
- };
- };
- etm {
- /*
- * Drive D19-D23 for the ETM PTM trace interface low,
- * (presumably pins are unconnected therefore grounded here,
- * the "other alt C1" setting enables these pins)
- */
- etm_hrefv60_mode: etm_hrefv60 {
- hrefv60_cfg1 {
- pins =
- "GPIO70_G5",
- "GPIO71_G4",
- "GPIO72_H4",
- "GPIO73_H3",
- "GPIO74_J3";
- ste,config = <&gpio_out_lo>;
- };
- };
- };
- nahj {
- nahj_hrefv60_mode: nahj_hrefv60 {
- /* NAHJ CTRL on GPIO76 to low, CTRL_INV on GPIO216 to high */
- hrefv60_cfg1 {
- pins = "GPIO76_J2";
- ste,config = <&gpio_out_lo>;
- };
- hrefv60_cfg2 {
- pins = "GPIO216_AG12";
- ste,config = <&gpio_out_hi>;
- };
- };
- };
- nfc {
- nfc_hrefv60_mode: nfc_hrefv60 {
- /* NFC ENA and RESET to low, pulldown IRQ line */
- hrefv60_cfg1 {
- pins =
- "GPIO77_H1", /* NFC_ENA */
- "GPIO142_C11"; /* NFC_RESET */
- ste,config = <&gpio_out_lo>;
- };
- hrefv60_cfg2 {
- pins = "GPIO144_B13"; /* NFC_IRQ */
- ste,config = <&gpio_in_pd>;
- };
- };
- };
- force {
- force_hrefv60_mode: force_hrefv60 {
- hrefv60_cfg1 {
- pins = "GPIO91_B6"; /* FORCE_SENSING_INT */
- ste,config = <&gpio_in_pu>;
- };
- hrefv60_cfg2 {
- pins =
- "GPIO92_D6", /* FORCE_SENSING_RST */
- "GPIO97_D9"; /* FORCE_SENSING_WU */
- ste,config = <&gpio_out_lo>;
- };
- };
- };
- dipro {
- dipro_hrefv60_mode: dipro_hrefv60 {
- hrefv60_cfg1 {
- pins = "GPIO139_C9"; /* DIPRO_INT */
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- vaudio_hf {
- vaudio_hf_hrefv60_mode: vaudio_hf_hrefv60 {
- /* Audio Amplifier HF enable GPIO */
- hrefv60_cfg1 {
- pins = "GPIO149_B14"; /* VAUDIO_HF_EN, enable MAX8968 */
- ste,config = <&gpio_out_hi>;
- };
- };
- };
- gbf {
- gbf_hrefv60_mode: gbf_hrefv60 {
- /*
- * GBF (GPS, Bluetooth, FM-radio) interface,
- * pull low to reset state
- */
- hrefv60_cfg1 {
- pins = "GPIO171_D23"; /* GBF_ENA_RESET */
- ste,config = <&gpio_out_lo>;
- };
- };
- };
- hdtv {
- hdtv_hrefv60_mode: hdtv_hrefv60 {
- /* MSP : HDTV INTERFACE GPIO line */
- hrefv60_cfg1 {
- pins = "GPIO192_AJ27";
- ste,config = <&gpio_in_pd>;
- };
- };
- };
- mcde {
- lcd_hrefv60_mode: lcd_hrefv60 {
- /*
- * Display Interface 1 uses GPIO 65 for RST (reset).
- * Display Interface 2 uses GPIO 66 for RST (reset).
- * Drive DISP1 reset high (not reset), driver DISP2 reset low (reset)
- */
- hrefv60_cfg1 {
- pins = "GPIO65_F1";
- ste,config = <&gpio_out_hi>;
- };
- hrefv60_cfg2 {
- pins = "GPIO66_G3";
- ste,config = <&gpio_out_lo>;
- };
- };
- };
- dangling-pins {
- /* Dangling GPIO pins */
- gpios_hrefv60_mode: gpios_hrefv60 {
- default_cfg1 {
- /* Normally UART1 RXD, now dangling */
- pins = "GPIO4_AH6";
- ste,config = <&in_pu>;
- };
- };
- };
- };
};
};
diff --git a/arch/arm/boot/dts/st/ste-snowball.dts b/arch/arm/boot/dts/st/ste-snowball.dts
index 29e680264e5b..754e452c947e 100644
--- a/arch/arm/boot/dts/st/ste-snowball.dts
+++ b/arch/arm/boot/dts/st/ste-snowball.dts
@@ -132,6 +132,159 @@ vmmci: regulator-sd {
2900000 0x0>;
};
+ pinctrl {
+ /*
+ * Set this up using hogs, as time goes by and as seems fit, these
+ * can be moved over to being controlled by respective device.
+ */
+ pinctrl-names = "default";
+ pinctrl-0 = <&gbf_snowball_mode>,
+ <&wlan_snowball_mode>;
+
+ ethernet {
+ /*
+ * Mux in "SM" which is used for the
+ * SMSC911x Ethernet adapter
+ */
+ eth_snowball_mode: eth_snowball {
+ snowball_mux {
+ function = "sm";
+ groups = "sm_b_1";
+ };
+ /* LAN IRQ pin */
+ snowball_cfg1 {
+ pins = "GPIO140_B11";
+ ste,config = <&in_nopull>;
+ };
+ /* LAN reset pin */
+ snowball_cfg2 {
+ pins = "GPIO141_C12";
+ ste,config = <&gpio_out_hi>;
+ };
+
+ };
+ };
+ sdi0 {
+ sdi0_default_mode: sdi0_default {
+ snowball_mux {
+ function = "mc0";
+ /* Add the DAT31 pin even if it is not really used */
+ groups = "mc0dat31dir_a_1";
+ };
+ snowball_cfg1 {
+ pins = "GPIO21_AB3"; /* DAT31DIR */
+ ste,config = <&out_hi>;
+ };
+ /* SD card detect GPIO pin, extend default state */
+ snowball_cfg2 {
+ pins = "GPIO218_AH11";
+ ste,config = <&gpio_in_pu>;
+ };
+ /* VMMCI level-shifter enable */
+ snowball_cfg3 {
+ pins = "GPIO217_AH12";
+ ste,config = <&gpio_out_hi>;
+ };
+ /* VMMCI level-shifter voltage select */
+ snowball_cfg4 {
+ pins = "GPIO228_AJ6";
+ ste,config = <&gpio_out_hi>;
+ };
+ };
+ };
+ ssp0 {
+ ssp0_snowball_mode: ssp0_snowball_default {
+ snowball_mux {
+ function = "ssp0";
+ groups = "ssp0_a_1";
+ };
+ snowball_cfg1 {
+ pins = "GPIO144_B13"; /* FRM */
+ ste,config = <&gpio_out_hi>;
+ };
+ snowball_cfg2 {
+ pins = "GPIO145_C13"; /* RXD */
+ ste,config = <&in_pd>;
+ };
+ snowball_cfg3 {
+ pins =
+ "GPIO146_D13", /* TXD */
+ "GPIO143_D12"; /* CLK */
+ ste,config = <&out_lo>;
+ };
+
+ };
+ };
+ gpio_led {
+ gpioled_snowball_mode: gpioled_default {
+ snowball_cfg1 {
+ pins = "GPIO142_C11";
+ ste,config = <&gpio_out_hi>;
+ };
+
+ };
+ };
+ accelerometer {
+ accel_snowball_mode: accel_snowball {
+ /* Accelerometer lines */
+ snowball_cfg1 {
+ pins =
+ "GPIO163_C20", /* ACCEL_IRQ1 */
+ "GPIO164_B21"; /* ACCEL_IRQ2 */
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ gyro {
+ gyro_snowball_mode: gyro_snowball {
+ snowball_cfg1 {
+ pins =
+ "GPIO166_A22", /* DRDY */
+ "GPIO169_D22"; /* INT */
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ magnetometer {
+ magneto_snowball_mode: magneto_snowball {
+ snowball_cfg1 {
+ pins = "GPIO165_C21"; /* MAG_DRDY */
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ gbf {
+ gbf_snowball_mode: gbf_snowball {
+ /*
+ * GBF (GPS, Bluetooth, FM-radio) interface,
+ * pull low to reset state
+ */
+ snowball_cfg1 {
+ pins = "GPIO171_D23"; /* GBF_ENA_RESET */
+ ste,config = <&gpio_out_lo>;
+ };
+ };
+ };
+ wlan {
+ wlan_snowball_mode: wlan_snowball {
+ /*
+ * Activate this mode with the WLAN chip.
+ * These are plain GPIO pins used by WLAN
+ */
+ snowball_cfg1 {
+ pins =
+ "GPIO161_D21", /* WLAN_PMU_EN */
+ "GPIO215_AH13"; /* WLAN_ENA */
+ ste,config = <&gpio_out_lo>;
+ };
+ snowball_cfg2 {
+ pins = "GPIO216_AG12"; /* WLAN_IRQ */
+ ste,config = <&gpio_in_pu>;
+ };
+ };
+ };
+ };
+
soc {
/* Name the GPIO muxed rails on the Snowball board */
gpio@8012e000 {
@@ -493,158 +646,6 @@ ab8500_ldo_ana_reg: ab8500_ldo_ana {
};
};
- pinctrl {
- /*
- * Set this up using hogs, as time goes by and as seems fit, these
- * can be moved over to being controlled by respective device.
- */
- pinctrl-names = "default";
- pinctrl-0 = <&gbf_snowball_mode>,
- <&wlan_snowball_mode>;
-
- ethernet {
- /*
- * Mux in "SM" which is used for the
- * SMSC911x Ethernet adapter
- */
- eth_snowball_mode: eth_snowball {
- snowball_mux {
- function = "sm";
- groups = "sm_b_1";
- };
- /* LAN IRQ pin */
- snowball_cfg1 {
- pins = "GPIO140_B11";
- ste,config = <&in_nopull>;
- };
- /* LAN reset pin */
- snowball_cfg2 {
- pins = "GPIO141_C12";
- ste,config = <&gpio_out_hi>;
- };
-
- };
- };
- sdi0 {
- sdi0_default_mode: sdi0_default {
- snowball_mux {
- function = "mc0";
- /* Add the DAT31 pin even if it is not really used */
- groups = "mc0dat31dir_a_1";
- };
- snowball_cfg1 {
- pins = "GPIO21_AB3"; /* DAT31DIR */
- ste,config = <&out_hi>;
- };
- /* SD card detect GPIO pin, extend default state */
- snowball_cfg2 {
- pins = "GPIO218_AH11";
- ste,config = <&gpio_in_pu>;
- };
- /* VMMCI level-shifter enable */
- snowball_cfg3 {
- pins = "GPIO217_AH12";
- ste,config = <&gpio_out_hi>;
- };
- /* VMMCI level-shifter voltage select */
- snowball_cfg4 {
- pins = "GPIO228_AJ6";
- ste,config = <&gpio_out_hi>;
- };
- };
- };
- ssp0 {
- ssp0_snowball_mode: ssp0_snowball_default {
- snowball_mux {
- function = "ssp0";
- groups = "ssp0_a_1";
- };
- snowball_cfg1 {
- pins = "GPIO144_B13"; /* FRM */
- ste,config = <&gpio_out_hi>;
- };
- snowball_cfg2 {
- pins = "GPIO145_C13"; /* RXD */
- ste,config = <&in_pd>;
- };
- snowball_cfg3 {
- pins =
- "GPIO146_D13", /* TXD */
- "GPIO143_D12"; /* CLK */
- ste,config = <&out_lo>;
- };
-
- };
- };
- gpio_led {
- gpioled_snowball_mode: gpioled_default {
- snowball_cfg1 {
- pins = "GPIO142_C11";
- ste,config = <&gpio_out_hi>;
- };
-
- };
- };
- accelerometer {
- accel_snowball_mode: accel_snowball {
- /* Accelerometer lines */
- snowball_cfg1 {
- pins =
- "GPIO163_C20", /* ACCEL_IRQ1 */
- "GPIO164_B21"; /* ACCEL_IRQ2 */
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- gyro {
- gyro_snowball_mode: gyro_snowball {
- snowball_cfg1 {
- pins =
- "GPIO166_A22", /* DRDY */
- "GPIO169_D22"; /* INT */
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- magnetometer {
- magneto_snowball_mode: magneto_snowball {
- snowball_cfg1 {
- pins = "GPIO165_C21"; /* MAG_DRDY */
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- gbf {
- gbf_snowball_mode: gbf_snowball {
- /*
- * GBF (GPS, Bluetooth, FM-radio) interface,
- * pull low to reset state
- */
- snowball_cfg1 {
- pins = "GPIO171_D23"; /* GBF_ENA_RESET */
- ste,config = <&gpio_out_lo>;
- };
- };
- };
- wlan {
- wlan_snowball_mode: wlan_snowball {
- /*
- * Activate this mode with the WLAN chip.
- * These are plain GPIO pins used by WLAN
- */
- snowball_cfg1 {
- pins =
- "GPIO161_D21", /* WLAN_PMU_EN */
- "GPIO215_AH13"; /* WLAN_ENA */
- ste,config = <&gpio_out_lo>;
- };
- snowball_cfg2 {
- pins = "GPIO216_AG12"; /* WLAN_IRQ */
- ste,config = <&gpio_in_pu>;
- };
- };
- };
- };
mcde@a0350000 {
pinctrl-names = "default", "sleep";
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 19/20] ARM: dts: ux500: Move addressless devices out of the simple bus
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (17 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 18/20] ARM: dts: ux500: Move the pin controller out of the simple bus Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:37 ` [PATCH 20/20] ARM: dts: ux500: Connect the AB8500 ULP PLL supply Linus Walleij
19 siblings, 0 replies; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
The PMU, power-domain provider and static CoreSight replicator have
no register resources. Move them to the root, preserving the PMU
interrupt parent and the existing power-domain links.
Fixes: b557457f638b ("ARM: ux500: add CoreSight blocks to DTS file")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-dbx5x0.dtsi | 111 ++++++++++++++++++-----------------
1 file changed, 56 insertions(+), 55 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
index 05d91367a38a..1770828a1d69 100644
--- a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
+++ b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
@@ -115,6 +115,62 @@ pinctrl: pinctrl {
prcm = <&prcmu>;
};
+ pmu {
+ compatible = "arm,cortex-a9-pmu";
+ interrupt-parent = <&intc>;
+ interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ pm_domains: power-controller {
+ compatible = "stericsson,ux500-pm-domains";
+ #power-domain-cells = <1>;
+ power-domains = <&pm_domains DOMAIN_VAPE>,
+ <&pm_domains DOMAIN_VAPE>,
+ <&pm_domains DOMAIN_VAPE>,
+ <&pm_domains DOMAIN_VAPE>,
+ <&pm_domains DOMAIN_VAPE>,
+ <&pm_domains DOMAIN_VAPE>;
+ power-domains-child-ids = <DOMAIN_SVA_MMDSP>,
+ <DOMAIN_SVA_PIPE>,
+ <DOMAIN_SIA_MMDSP>,
+ <DOMAIN_SIA_PIPE>,
+ <DOMAIN_SGA>,
+ <DOMAIN_B2R2_MCDE>;
+ };
+
+ replicator {
+ compatible = "arm,coresight-static-replicator";
+ clocks = <&prcmu_clk PRCMU_APEATCLK>;
+ clock-names = "atclk";
+ power-domains = <&pm_domains DOMAIN_VARM>;
+
+ out-ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ replicator_out_port0: endpoint {
+ remote-endpoint = <&tpiu_in_port>;
+ };
+ };
+ port@1 {
+ reg = <1>;
+ replicator_out_port1: endpoint {
+ remote-endpoint = <&etb_in_port>;
+ };
+ };
+ };
+
+ in-ports {
+ port {
+ replicator_in_port0: endpoint {
+ remote-endpoint = <&funnel_out_port>;
+ };
+ };
+ };
+ };
+
soc {
#address-cells = <1>;
#size-cells = <1>;
@@ -259,39 +315,6 @@ funnel_in_port1: endpoint {
};
};
- replicator {
- compatible = "arm,coresight-static-replicator";
- clocks = <&prcmu_clk PRCMU_APEATCLK>;
- clock-names = "atclk";
- power-domains = <&pm_domains DOMAIN_VARM>;
-
- out-ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@0 {
- reg = <0>;
- replicator_out_port0: endpoint {
- remote-endpoint = <&tpiu_in_port>;
- };
- };
- port@1 {
- reg = <1>;
- replicator_out_port1: endpoint {
- remote-endpoint = <&etb_in_port>;
- };
- };
- };
-
- in-ports {
- port {
- replicator_in_port0: endpoint {
- remote-endpoint = <&funnel_out_port>;
- };
- };
- };
- };
-
tpiu@80190000 {
compatible = "arm,coresight-tpiu", "arm,primecell";
reg = <0x80190000 0x1000>;
@@ -357,28 +380,6 @@ L2: cache-controller@a0412000 {
cache-level = <2>;
};
- pmu {
- compatible = "arm,cortex-a9-pmu";
- interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
- };
-
- pm_domains: power-controller {
- compatible = "stericsson,ux500-pm-domains";
- #power-domain-cells = <1>;
- power-domains = <&pm_domains DOMAIN_VAPE>,
- <&pm_domains DOMAIN_VAPE>,
- <&pm_domains DOMAIN_VAPE>,
- <&pm_domains DOMAIN_VAPE>,
- <&pm_domains DOMAIN_VAPE>,
- <&pm_domains DOMAIN_VAPE>;
- power-domains-child-ids = <DOMAIN_SVA_MMDSP>,
- <DOMAIN_SVA_PIPE>,
- <DOMAIN_SIA_MMDSP>,
- <DOMAIN_SIA_PIPE>,
- <DOMAIN_SGA>,
- <DOMAIN_B2R2_MCDE>;
- };
-
clocks@8012f000 {
compatible = "stericsson,u8500-clks";
/*
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH 20/20] ARM: dts: ux500: Connect the AB8500 ULP PLL supply
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
` (18 preceding siblings ...)
2026-11-26 0:37 ` [PATCH 19/20] ARM: dts: ux500: Move addressless devices " Linus Walleij
@ 2026-11-26 0:37 ` Linus Walleij
2026-11-26 0:48 ` sashiko-bot
19 siblings, 1 reply; 25+ messages in thread
From: Linus Walleij @ 2026-11-26 0:37 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree
Connect the AB8500 clock controller to its VintCore12 regulator. The
ULP PLL draws power from this rail regardless of which board uses the
PMIC, so describe the connection in the common AB8500 include.
Codex assisted with the device tree update.
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
arch/arm/boot/dts/st/ste-ab8500.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/st/ste-ab8500.dtsi b/arch/arm/boot/dts/st/ste-ab8500.dtsi
index 03cee37ae478..30c3870c6cea 100644
--- a/arch/arm/boot/dts/st/ste-ab8500.dtsi
+++ b/arch/arm/boot/dts/st/ste-ab8500.dtsi
@@ -34,6 +34,7 @@ ab8500 {
ab8500_clock: clock-controller {
compatible = "stericsson,ab8500-clk";
#clock-cells = <1>;
+ vintcore-supply = <&ab8500_ldo_intcore_reg>;
};
ab8500_gpio: gpio {
--
2.56.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* Re: [PATCH 11/20] ARM: dts: ux500: Correct GPIO key descriptions
2026-11-26 0:37 ` [PATCH 11/20] ARM: dts: ux500: Correct GPIO key descriptions Linus Walleij
@ 2026-11-26 0:44 ` sashiko-bot
0 siblings, 0 replies; 25+ messages in thread
From: sashiko-bot @ 2026-11-26 0:44 UTC (permalink / raw)
To: Linus Walleij; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] ARM: dts: ux500: ste-hrefprev60 button-139 override clobbered
by include order
--
commit 74611616ae4903ecabb271e7f61330d70fa4af45
Author: Linus Walleij <linusw@kernel.org>
ARM: dts: ux500: Correct GPIO key descriptions
This commit updates ux500 GPIO key nodes to drop unit addresses, unused
address/size cells, and vdd-supply properties, and renames the pre-v60
HREF proximity sensor key override node to match.
> diff --git a/arch/arm/boot/dts/st/ste-hrefprev60.dtsi b/arch/arm/boot/dts/st/ste-hrefprev60.dtsi
> index c87fd27b44345..5686d777311f3 100644
> --- a/arch/arm/boot/dts/st/ste-hrefprev60.dtsi
> +++ b/arch/arm/boot/dts/st/ste-hrefprev60.dtsi
> @@ -10,7 +10,7 @@
>
> / {
> gpio_keys {
> - button@1 {
> + button-139 {
> gpios = <&tc3589x_gpio 7 GPIO_ACTIVE_HIGH>;
> };
> };
[Severity: Medium]
Does the button-139 override in ste-hrefprev60.dtsi take effect?
Both ste-hrefprev60-stuib.dts and ste-hrefprev60-tvk.dts include
ste-hrefprev60.dtsi before the UIB dtsi:
arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts:
#include "ste-hrefprev60.dtsi"
#include "ste-href-stuib.dtsi"
Because ste-href-stuib.dtsi and ste-href-tvk1281618-r2.dtsi are evaluated
afterward, their button-139 definitions overwrite gpios back to
<&gpio6 25 GPIO_ACTIVE_HIGH>, leaving the proximity sensor on pre-v60
HREF boards bound to the wrong GPIO and conflicting with the tc35892@42
interrupt line on <&gpio6 25>.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-ux500-dts-after-powerdomains-v1-0-791cd62d8870@kernel.org?part=11
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH 20/20] ARM: dts: ux500: Connect the AB8500 ULP PLL supply
2026-11-26 0:37 ` [PATCH 20/20] ARM: dts: ux500: Connect the AB8500 ULP PLL supply Linus Walleij
@ 2026-11-26 0:48 ` sashiko-bot
0 siblings, 0 replies; 25+ messages in thread
From: sashiko-bot @ 2026-11-26 0:48 UTC (permalink / raw)
To: Linus Walleij; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] ARM: dts: ux500: undocumented and unused vintcore-supply on
ab8500_clock
--
commit da09fb76db4a45fe111bfab60f65ea5efd602e97
Author: Linus Walleij <linusw@kernel.org>
ARM: dts: ux500: Connect the AB8500 ULP PLL supply
This commit adds the vintcore-supply property pointing to
ab8500_ldo_intcore_reg on the ab8500_clock node in ste-ab8500.dtsi.
> diff --git a/arch/arm/boot/dts/st/ste-ab8500.dtsi b/arch/arm/boot/dts/st/ste-ab8500.dtsi
> index 03cee37ae4783..30c3870c6cea1 100644
> --- a/arch/arm/boot/dts/st/ste-ab8500.dtsi
> +++ b/arch/arm/boot/dts/st/ste-ab8500.dtsi
> @@ -34,6 +34,7 @@ ab8500 {
> ab8500_clock: clock-controller {
> compatible = "stericsson,ab8500-clk";
> #clock-cells = <1>;
> + vintcore-supply = <&ab8500_ldo_intcore_reg>;
> };
[Severity: Medium]
Does adding vintcore-supply to clock-controller break dtbs_check against
Documentation/devicetree/bindings/mfd/stericsson,ab8500.yaml?
In stericsson,ab8500.yaml, the clock-controller node sets
additionalProperties: false and only allows compatible and #clock-cells,
so all AB8500 board device trees will fail schema validation without a
binding update.
The stericsson,ab8500-clk driver in drivers/clk/ux500/abx500-clk.c also
does not request or enable vintcore-supply when registering or gating
ulpclk, and the sibling arch/arm/boot/dts/st/ste-ab8505.dtsi defines the
same clock-controller and ab8500_ldo_intcore_reg nodes without this
property.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-ux500-dts-after-powerdomains-v1-0-791cd62d8870@kernel.org?part=20
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH 17/20] ARM: dts: nomadik: Correct controller and clock unit addresses
2026-11-26 0:37 ` [PATCH 17/20] ARM: dts: nomadik: Correct controller and clock unit addresses Linus Walleij
@ 2026-11-26 0:48 ` sashiko-bot
0 siblings, 0 replies; 25+ messages in thread
From: sashiko-bot @ 2026-11-26 0:48 UTC (permalink / raw)
To: Linus Walleij; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] ARM: dts: nomadik: i2c-bitbang and pinctrl i2c rename split
mismatch in series
--
commit 9061c78263d91688b3a0d397630719dc23e3bad7
Author: Linus Walleij <linusw@kernel.org>
ARM: dts: nomadik: Correct controller and clock unit addresses
This commit adds MMIO unit addresses to the Nomadik I2C and L2
cache-controller node names and removes dummy unit addresses from clock
nodes without reg properties.
> diff --git a/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi b/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
> index 4eba7c9433688..76db00fcba188 100644
> --- a/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
> +++ b/arch/arm/boot/dts/st/ste-nomadik-stn8815.dtsi
[ ... ]
> @@ -139,7 +139,7 @@ mmcsd_default_cfg1 {
> };
> };
> };
> - i2c-0 {
> + i2c0 {
> i2c0_default_mux: i2c0_mux {
> i2c0_default_mux {
> function = "i2c0";
> @@ -153,7 +153,7 @@ i2c0_default_cfg {
> };
> };
> };
> - i2c-1 {
> + i2c1 {
> i2c1_default_mux: i2c1_mux {
> i2c1_default_mux {
> function = "i2c1";
[Severity: Low]
Were the Nomadik I2C changes split across this patch and the earlier commit
"ARM: dts: ux500: Use valid I2C bus node names" by mistake?
That earlier ux500 patch already renamed gpio-i2c to i2c-bitbang in
ste-nomadik-s8815.dts (which this commit's message describes as happening
here), and also renamed the Nomadik I2C controller and pinctrl child nodes
from i2c0 and i2c1 to i2c-0 and i2c-1. This patch then renames the I2C
controller nodes a second time to i2c@101f8000 and i2c@101f7000 and reverts
the pinctrl child node names back to i2c0 and i2c1.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-ux500-dts-after-powerdomains-v1-0-791cd62d8870@kernel.org?part=17
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH 18/20] ARM: dts: ux500: Move the pin controller out of the simple bus
2026-11-26 0:37 ` [PATCH 18/20] ARM: dts: ux500: Move the pin controller out of the simple bus Linus Walleij
@ 2026-11-26 0:49 ` sashiko-bot
0 siblings, 0 replies; 25+ messages in thread
From: sashiko-bot @ 2026-11-26 0:49 UTC (permalink / raw)
To: Linus Walleij; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] ARM: dts: ux500: pinctrl node before soc breaks
nmk_pinctrl_probe() GPIO lookup
--
commit fe9e72b390eb8a161cbbc201a9ac8765c960dd3d
Author: Linus Walleij <linusw@kernel.org>
ARM: dts: ux500: Move the pin controller out of the simple bus
This commit moves the pinctrl node and its board-specific extensions out of
the /soc simple-bus node to the root node across the Ux500 device trees.
> diff --git a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
> index 920d07fbf00e7..05d91367a38af 100644
> --- a/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
> +++ b/arch/arm/boot/dts/st/ste-dbx5x0.dtsi
> @@ -107,6 +107,14 @@ map0 {
> };
> };
>
> + pinctrl: pinctrl {
> + compatible = "stericsson,db8500-pinctrl";
> + nomadik-gpio-chips = <&gpio0>, <&gpio1>, <&gpio2>, <&gpio3>,
> + <&gpio4>, <&gpio5>, <&gpio6>, <&gpio7>,
> + <&gpio8>;
> + prcm = <&prcmu>;
> + };
> +
> soc {
> #address-cells = <1>;
> #size-cells = <1>;
[Severity: High]
Does placing pinctrl before the soc node cause nmk_pinctrl_probe() to
run before the gpio0..gpio8 platform devices exist?
nmk_pinctrl_driver is registered at core_initcall, and nomadik-gpio-chips
is not parsed by fw_devlink. When of_platform_populate() walks the root
children in DTB order, it creates and probes /pinctrl before descending
into /soc to create gpio0..gpio8. nmk_gpio_populate_chip() then fails
to find the GPIO platform devices on platform_bus_type:
drivers/pinctrl/nomadik/pinctrl-nomadik.c:nmk_pinctrl_probe() {
...
nmk_chip = nmk_gpio_populate_chip(gpio_fwnode, pdev);
if (IS_ERR(nmk_chip))
dev_err(&pdev->dev,
"could not populate nmk chip struct - continue anyway\n");
...
}
Because nmk_pinctrl_probe() continues and registers the pinctrl device
with nmk_gpio_chips[] unpopulated, claiming pinctrl hogs fails with
-EINVAL, and drivers that probe before subsys_initcall(nmk_gpio_init)
(such as the PL011 UART driver at arch_initcall) fail
pinctrl_bind_pins() with -EINVAL.
Placing the pinctrl node after the soc node ensures that the GPIO
platform devices under /soc are registered before /pinctrl is created.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-ux500-dts-after-powerdomains-v1-0-791cd62d8870@kernel.org?part=18
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2026-11-26 0:49 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 0:37 [PATCH 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
2026-11-26 0:37 ` [PATCH 01/20] ARM: dts: ux500: Give memory nodes their unit address Linus Walleij
2026-11-26 0:37 ` [PATCH 02/20] ARM: dts: ux500: Put CPU cooling properties in a map node Linus Walleij
2026-11-26 0:37 ` [PATCH 03/20] ARM: dts: ux500: Correct HREF thermistor and pin group names Linus Walleij
2026-11-26 0:37 ` [PATCH 04/20] ARM: dts: ux500: Remove bus clock rates from I2C peripheral nodes Linus Walleij
2026-11-26 0:37 ` [PATCH 05/20] ARM: dts: ux500: Use the standard battery chemistry property Linus Walleij
2026-11-26 0:37 ` [PATCH 06/20] ARM: dts: ux500: Correct STUIB magnetometer supply names Linus Walleij
2026-11-26 0:37 ` [PATCH 07/20] ARM: dts: ux500: Encode Sharp proximity hysteresis as bytes Linus Walleij
2026-11-26 0:37 ` [PATCH 08/20] ARM: dts: ux500: Give DSI panels their unit addresses Linus Walleij
2026-11-26 0:37 ` [PATCH 09/20] ARM: dts: ux500: Remove unused IIO channel inheritance on Janice Linus Walleij
2026-11-26 0:37 ` [PATCH 10/20] ARM: dts: ux500: Fix SD regulator node validation Linus Walleij
2026-11-26 0:37 ` [PATCH 11/20] ARM: dts: ux500: Correct GPIO key descriptions Linus Walleij
2026-11-26 0:44 ` sashiko-bot
2026-11-26 0:37 ` [PATCH 12/20] ARM: dts: ux500: Correct the PL011 functional clock names Linus Walleij
2026-11-26 0:37 ` [PATCH 13/20] ARM: dts: ux500: Correct the STMPE interrupt pin property Linus Walleij
2026-11-26 0:37 ` [PATCH 14/20] ARM: dts: ux500: Use valid I2C bus node names Linus Walleij
2026-11-26 0:37 ` [PATCH 15/20] ARM: dts: ux500: Correct memory-mapped controller unit addresses Linus Walleij
2026-11-26 0:37 ` [PATCH 16/20] ARM: dts: nomadik: Correct the camera I2C unit address Linus Walleij
2026-11-26 0:37 ` [PATCH 17/20] ARM: dts: nomadik: Correct controller and clock unit addresses Linus Walleij
2026-11-26 0:48 ` sashiko-bot
2026-11-26 0:37 ` [PATCH 18/20] ARM: dts: ux500: Move the pin controller out of the simple bus Linus Walleij
2026-11-26 0:49 ` sashiko-bot
2026-11-26 0:37 ` [PATCH 19/20] ARM: dts: ux500: Move addressless devices " Linus Walleij
2026-11-26 0:37 ` [PATCH 20/20] ARM: dts: ux500: Connect the AB8500 ULP PLL supply Linus Walleij
2026-11-26 0:48 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox