lantiq: dts: assign the PCI pins to the PCI controller node
[openwrt/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / ARV7506PW11.dts
index 8fe22e9a44efd546e531a45dbaf31ec80b21abf5..9e4216033beb170f1d5612ff30c9608170318339 100644 (file)
        };
 
        memory@0 {
+               device_type = "memory";
                reg = <0x0 0x4000000>;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <100>;
 
                rfkill {
@@ -45,7 +44,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                wlan: wlan {
                        label = "arv7506pw11:green:wlan";
        pinctrl-0 = <&state_default>;
 
        state_default: pinmux {
-               pci {
-                       lantiq,groups = "gnt1";
-                       lantiq,function = "pci";
-                       lantiq,output = <1>;
-               };
                pci_rst {
                        lantiq,pins = "io21";
                        lantiq,pull = <2>;
 };
 
 &localbus {
-       nor@0 {
+       flash@0 {
                compatible = "lantiq,nor";
                bank-width = <2>;
                reg = <0 0x0 0x800000>;
 
 &pci0 {
        status = "okay";
+
+       pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+       pinctrl-names = "default";
+
        lantiq,external-clock;
        gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;