esp32/s2/c3: pinctrl: dts: move pinctrl node out of SoC bus

On Espressif SoCs, the pin controller is a virtual device.
Pin settings are actually controlled in a distributed way.
Therefore, that node does not belong to the SoC bus.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
Glauber Maroto Ferreira 2022-05-12 11:54:28 -03:00 committed by Marti Bolivar
parent 1cf7361f44
commit d6e8474498
3 changed files with 15 additions and 15 deletions

View file

@ -30,6 +30,11 @@
}; };
}; };
pinctrl: pin-controller {
compatible = "espressif,esp32-pinctrl";
status = "okay";
};
soc { soc {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@ -41,11 +46,6 @@
reg = <0x3fc7c000 0x50000>; reg = <0x3fc7c000 0x50000>;
}; };
pinctrl: pin-controller {
compatible = "espressif,esp32-pinctrl";
status = "okay";
};
intc: interrupt-controller@600c2000 { intc: interrupt-controller@600c2000 {
#interrupt-cells = <1>; #interrupt-cells = <1>;
compatible = "espressif,esp32-intc"; compatible = "espressif,esp32-intc";

View file

@ -40,6 +40,11 @@
status = "disabled"; status = "disabled";
}; };
pinctrl: pin-controller {
compatible = "espressif,esp32-pinctrl";
status = "okay";
};
soc { soc {
sram0: memory@3ffb0000 { sram0: memory@3ffb0000 {
compatible = "mmio-sram"; compatible = "mmio-sram";
@ -128,11 +133,6 @@
status = "disabled"; status = "disabled";
}; };
pinctrl: pin-controller {
compatible = "espressif,esp32-pinctrl";
status = "okay";
};
ledc0: ledc@3ff59000 { ledc0: ledc@3ff59000 {
compatible = "espressif,esp32-ledc"; compatible = "espressif,esp32-ledc";
pwm-controller; pwm-controller;

View file

@ -36,6 +36,11 @@
status = "disabled"; status = "disabled";
}; };
pinctrl: pin-controller {
compatible = "espressif,esp32-pinctrl";
status = "okay";
};
soc { soc {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@ -103,11 +108,6 @@
current-speed = <115200>; current-speed = <115200>;
}; };
pinctrl: pin-controller {
compatible = "espressif,esp32-pinctrl";
status = "okay";
};
gpio0: gpio@3f404000 { gpio0: gpio@3f404000 {
compatible = "espressif,esp32-gpio"; compatible = "espressif,esp32-gpio";
gpio-controller; gpio-controller;