mvebu: LS421DE: improve pin configuration
[openwrt/openwrt.git] / target / linux / mvebu / files / arch / arm / boot / dts / armada-370-buffalo-ls421de.dts
index 4e176554c65511cbb792d27548b127335f13d276..59400839a7d94d91041d88100a2e46bb14d964df 100644 (file)
 
        ethphy0: ethernet-phy@0 { /* Marvell 88E1518 */
                reg = <0>;
-               marvell,reg-init = <0x3 0x10 0x1 0x1991>, /* LED function */
-                                  <0x3 0x11 0x1 0x4401>, /* LED polarity */
-                                  <0x3 0x12 0x1 0x4905>; /* LED timer */
+               marvell,reg-init = <0x2 0x10 0xffff 0x0006>, /* disable CLK125 */
+                                  <0x3 0x10 0x0000 0x1991>, /* LED function */
+                                  <0x3 0x11 0x0000 0x4401>, /* LED polarity */
+                                  <0x3 0x12 0x0000 0x4905>; /* LED timer */
                #thermal-sensor-cells = <0>;
        };
 };
 
 &pciec {
        status = "okay";
+       pinctrl-0 = <&pmx_pcie>;
+       pinctrl-names = "default";
+
        /* Connected to uPD720202 USB 3.0 Host */
        pcie@1,0 {
                status = "okay";
                marvell,pins = "mpp55", "mpp57", "mpp62";
                marvell,function = "gpio";
        };
+
+       pmx_pcie: pmx-pcie {
+               marvell,pins = "mpp56", "mpp60";
+               marvell,function = "pcie";
+       };
 };