ARM: dts: aspeed-g6: Add pinctrl properties to MDIO nodes
authorAndrew Jeffery <andrew@aj.id.au>
Thu, 26 Sep 2019 13:36:06 +0000 (23:06 +0930)
committerJoel Stanley <joel@jms.id.au>
Fri, 1 Nov 2019 05:03:20 +0000 (15:33 +1030)
This way enabling the MDIO controllers automatically requests the right
pinmux configuration.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g6.dtsi

index c39b8ac192616205907ce0d9cca0fa4b76651e0e..89182169046d005fb29b41ee5bc66e77ecab4936 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "disabled";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_mdio1_default>;
                };
 
                mdio1: mdio@1e650008 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "disabled";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_mdio2_default>;
                };
 
                mdio2: mdio@1e650010 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "disabled";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_mdio3_default>;
                };
 
                mdio3: mdio@1e650018 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "disabled";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_mdio4_default>;
                };
 
                mac0: ftgmac@1e660000 {