lantiq: split device definitions into files
[openwrt/staging/wigyori.git] / target / linux / lantiq / files / arch / mips / boot / dts / ARV752DPW.dts
index c66df234fb1835c928519517a2b835d0fefe4d08..069b1b1ed64be2452bbcde9a5519d04013081d87 100644 (file)
@@ -28,7 +28,7 @@
                reg = <0x0 0x4000000>;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <100>;
 
@@ -54,7 +54,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                power_blue: power1 {
                        label = "arv752dpw:blue:power";
                        lantiq,pull = <2>;
                        lantiq,output = <0>;
                };
-               pci_in {
-                       lantiq,groups = "req2", "req1";
-                       lantiq,function = "pci";
-                       lantiq,open-drain = <1>;
-                       lantiq,pull = <2>;
-                       lantiq,output = <0>;
-               };
-               pci_out {
-                       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>;
                };
        };
 
-       gpiomm: gpiomm@1 {
+       gpiomm: gpio@1 {
                compatible = "lantiq,gpio-mm";
                reg = <1 0x0 0x10 >;
                #address-cells = <1>;
 
 &pci0 {
        status = "okay";
+
+       pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>, <&pci_req2_pins>;
+       pinctrl-names = "default";
+
        lantiq,external-clock;
        gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
        interrupt-map = <0x7000 0 0 1 &icu0 135>;