Commit 6ba2e45d authored by Clément Péron's avatar Clément Péron Committed by Maxime Ripard

arm64: dts: allwinner: h6: move MMC pinctrl to dtsi

There is only one pinmuxing available for each MMC controller.

Move the pinctrl to the SOC
Signed-off-by: default avatarClément Péron <peron.clem@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent fcf041fb
...@@ -56,8 +56,6 @@ &ehci3 { ...@@ -56,8 +56,6 @@ &ehci3 {
}; };
&mmc0 { &mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
vmmc-supply = <&reg_cldo1>; vmmc-supply = <&reg_cldo1>;
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
bus-width = <4>; bus-width = <4>;
......
...@@ -104,8 +104,6 @@ &ehci3 { ...@@ -104,8 +104,6 @@ &ehci3 {
}; };
&mmc0 { &mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
vmmc-supply = <&reg_cldo1>; vmmc-supply = <&reg_cldo1>;
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
bus-width = <4>; bus-width = <4>;
...@@ -113,8 +111,6 @@ &mmc0 { ...@@ -113,8 +111,6 @@ &mmc0 {
}; };
&mmc2 { &mmc2 {
pinctrl-names = "default";
pinctrl-0 = <&mmc2_pins>;
vmmc-supply = <&reg_cldo1>; vmmc-supply = <&reg_cldo1>;
vqmmc-supply = <&reg_bldo2>; vqmmc-supply = <&reg_bldo2>;
non-removable; non-removable;
......
...@@ -278,6 +278,8 @@ mmc0: mmc@4020000 { ...@@ -278,6 +278,8 @@ mmc0: mmc@4020000 {
resets = <&ccu RST_BUS_MMC0>; resets = <&ccu RST_BUS_MMC0>;
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
status = "disabled"; status = "disabled";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -306,6 +308,8 @@ mmc2: mmc@4022000 { ...@@ -306,6 +308,8 @@ mmc2: mmc@4022000 {
resets = <&ccu RST_BUS_MMC2>; resets = <&ccu RST_BUS_MMC2>;
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&mmc2_pins>;
status = "disabled"; status = "disabled";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment