mediatek: mt7988: move gpio-controller up and rename pinctrl to pio

Move gpio-controller up to pinctrl node and rename label to "pio" to
match the label used in upstream kernel linux.

Update any DTS that reference the pinctrl to follow the new naming and
structure.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Weijie Gao <weijie.gao@mediatek.com>
Tested-by: Weijie Gao <weijie.gao@mediatek.com>
This commit is contained in:
Christian Marangi 2025-01-27 14:40:42 +01:00 committed by Tom Rini
parent 8c2cb748ef
commit cd06e60c44
3 changed files with 5 additions and 7 deletions

View File

@ -80,7 +80,7 @@
status = "disabled";
};
&pinctrl {
&pio {
i2c1_pins: i2c1-pins {
mux {
function = "i2c";

View File

@ -53,7 +53,7 @@
};
};
&pinctrl {
&pio {
i2c1_pins: i2c1-pins {
mux {
function = "i2c";

View File

@ -110,7 +110,7 @@
#clock-cells = <1>;
};
pinctrl: pinctrl@1001f000 {
pio: pinctrl@1001f000 {
compatible = "mediatek,mt7988-pinctrl";
reg = <0 0x1001f000 0 0x1000>,
<0 0x11c10000 0 0x1000>,
@ -122,10 +122,8 @@
reg-names = "gpio", "iocfg_tr", "iocfg_br",
"iocfg_rb", "iocfg_lb", "iocfg_tl",
"eint";
gpio: gpio-controller {
gpio-controller;
#gpio-cells = <2>;
};
gpio-controller;
#gpio-cells = <2>;
};
sgmiisys0: syscon@10060000 {