lantiq,groups = "exin1";
lantiq,function = "exin";
};
- pci {
- lantiq,groups = "gnt1", "req1";
- lantiq,function = "pci";
- };
};
};
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
};
&usb_phy {
lantiq,function = "exin";
lantiq,output = <0>;
};
- pci_in {
- lantiq,groups = "req1", "req2";
- lantiq,function = "pci";
- lantiq,output = <0>;
- };
- pci_out {
- lantiq,groups = "gnt1", "gnt2";
- lantiq,function = "pci";
- lantiq,open-drain = <0>;
- lantiq,pull = <0>;
- lantiq,output = <1>;
- };
pci_rst {
lantiq,pins = "io21";
lantiq,open-drain = <0>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
+ <&pci_req1_pins>, <&pci_req2_pins>;
+ pinctrl-names = "default";
+
lantiq,external-clock;
interrupt-map = <
0x6000 0 0 1 &icu0 135
lantiq,groups = "ebu cs1";
lantiq,function = "ebu";
};
- pci_in {
- lantiq,groups = "req1", "req2";
- lantiq,function = "pci";
- lantiq,open-drain = <1>;
- lantiq,pull = <2>;
- lantiq,output = <0>;
- };
- pci_out {
- lantiq,groups = "gnt1", "gnt2";
- lantiq,function = "pci";
- lantiq,pull = <0>;
- lantiq,output = <1>;
- };
};
};
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
+ <&pci_req1_pins>, <&pci_req2_pins>;
+ pinctrl-names = "default";
+
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
req-mask = <0xf>;
};
lantiq,groups = "ebu cs1";
lantiq,function = "ebu";
};
- pci_in {
- lantiq,groups = "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,open-drain = <0>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
lantiq,external-clock;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
pinctrl-0 = <&state_default>;
state_default: pinmux {
- pci_in {
- lantiq,groups = "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>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
lantiq,groups = "ebu cs1";
lantiq,function = "ebu";
};
- pci_in {
- lantiq,groups = "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 = <0>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
lantiq,external-clock;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
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>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
lantiq,external-clock;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
lantiq,pull = <2>;
lantiq,output = <0>;
};
- pci_in {
- lantiq,groups = "req1", "req2";
- 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>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>, <&pci_req2_pins>;
+ pinctrl-names = "default";
+
lantiq,external-clock;
interrupt-map = <
0x7000 0 0 1 &icu0 30
lantiq,groups = "ebu cs1";
lantiq,function = "ebu";
};
- pci_in {
- lantiq,groups = "req1";
- lantiq,function = "pci";
- lantiq,open-drain = <1>;
- lantiq,pull = <2>;
- lantiq,output = <0>;
- };
- pci_out {
- lantiq,groups = "gnt1";
- lantiq,function = "pci";
- lantiq,pull = <0>;
- lantiq,output = <1>;
- };
pci_rst {
lantiq,pins = "io21";
lantiq,pull = <2>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
lantiq,external-clock;
req-mask = <0xf>;
lantiq,groups = "ebu cs1";
lantiq,function = "ebu";
};
- pci_in {
- lantiq,groups = "req1";
- lantiq,function = "pci";
- lantiq,open-drain = <1>;
- lantiq,pull = <2>;
- lantiq,output = <0>;
- };
- pci_out {
- lantiq,groups = "gnt1";
- lantiq,function = "pci";
- lantiq,pull = <0>;
- lantiq,output = <1>;
- };
pci_rst {
lantiq,pins = "io21";
lantiq,pull = <2>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
lantiq,external-clock;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
req-mask = <0xf>;
lantiq,groups = "exin1";
lantiq,function = "exin";
};
- pci {
- lantiq,groups = "gnt1", "req1";
- lantiq,function = "pci";
- };
};
};
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
interrupt-map = <0x7000 0 0 1 &icu0 135 1>;
wifi@0,0 {
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>;
&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>;
lantiq,pull = <2>;
lantiq,output = <0>;
};
- pci_in {
- lantiq,groups = "req1";
- lantiq,function = "pci";
- lantiq,pull = <2>;
- lantiq,output = <0>;
- };
- pci_out {
- lantiq,groups = "gnt1";
- lantiq,function = "pci";
- lantiq,open-drain = <1>;
- lantiq,output = <1>;
- };
pci_rst {
lantiq,pins = "io21";
lantiq,open-drain = <1>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
lantiq,external-clock;
interrupt-map = <
0x7000 0 0 1 &icu0 30
pinctrl-0 = <&state_default>;
state_default: pinmux {
- pci_in {
- lantiq,groups = "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>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
wifi@168c,0029 {
lantiq,groups = "exin1";
lantiq,function = "exin";
};
- pci_in {
- lantiq,groups = "req1";
- lantiq,function = "pci";
- lantiq,output = <0>;
- lantiq,open-drain = <1>;
- lantiq,pull = <2>;
- };
- pci_out {
- lantiq,groups = "gnt1";
- lantiq,function = "pci";
- lantiq,output = <1>;
- lantiq,open-drain = <0>;
- lantiq,pull = <0>;
- };
pci_rst {
lantiq,pins = "io21";
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
wifi@168c,0027 {
pinctrl-0 = <&state_default>;
state_default: pinmux {
- pci_in {
- lantiq,groups = "req1";
- lantiq,function = "pci";
- lantiq,output = <0>;
- lantiq,open-drain = <1>;
- lantiq,pull = <2>;
- };
- pci_out {
- lantiq,groups = "gnt1";
- lantiq,function = "pci";
- lantiq,output = <1>;
- lantiq,open-drain = <0>;
- lantiq,pull = <0>;
- };
-
pci_rst {
lantiq,pins = "io21";
lantiq,output = <1>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
wifi@7000 {
lantiq,groups = "exin1";
lantiq,function = "exin";
};
- pci {
- lantiq,groups = "gnt1", "req1";
- lantiq,function = "pci";
- };
- pci-in {
- lantiq,groups = "req1";
- lantiq,output = <0>;
- lantiq,open-drain = <1>;
- lantiq,pull = <2>;
- };
- pci-out {
- lantiq,groups = "gnt1";
- lantiq,output = <1>;
- lantiq,pull = <0>;
- };
};
};
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
wifi@168c,0029 {
lantiq,groups = "exin1";
lantiq,function = "exin";
};
- pci {
- lantiq,groups = "gnt1";
- lantiq,function = "pci";
- };
};
};
};
};
};
+
+&pci0 {
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+};
lantiq,groups = "exin1";
lantiq,function = "exin";
};
- pci {
- lantiq,groups = "gnt1";
- lantiq,function = "pci";
- };
};
};
lantiq,groups = "exin3";
lantiq,function = "exin";
};
- pci {
- lantiq,groups = "gnt1", "req1";
- lantiq,function = "pci";
- };
conf_out {
lantiq,pins = "io21",
"io33";
};
};
+&pci0 {
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+};
+
&stp {
status = "okay";
pinctrl-0 = <&state_default>;
state_default: pinmux {
- pci {
- lantiq,groups = "gnt1", "req1", "req2", "req4", "gnt2", "gnt3", "gnt4";
- lantiq,function = "pci";
- };
- pci-in {
- lantiq,groups = "req1", "req2", "req4";
- lantiq,output = <0>;
- lantiq,open-drain = <1>;
- lantiq,pull = <2>;
- };
- pci-out {
- lantiq,groups = "gnt1", "gnt2", "gnt3", "gnt4";
- lantiq,output = <1>;
- lantiq,pull = <0>;
- };
ar8030-intr {
lantiq,groups = "exin3";
lantiq,function = "exin";
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
+ <&pci_gnt3_pins>, <&pci_gnt4_pins>,
+ <&pci_req1_pins>, <&pci_req2_pins>,
+ <&pci_req4_pins>;
+ pinctrl-names = "default";
+
req-mask = <0xf>;
gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
};
};
-&gpio {
- pinctrl-names = "default";
- pinctrl-0 = <&state_default>;
-
- state_default: pinmux {
- pci {
- lantiq,groups = "gnt1", "req1", "req2", "req3", "req4", "gnt2", "gnt3", "gnt4";
- lantiq,function = "pci";
- };
- pci-in {
- lantiq,groups = "req1", "req2", "req3", "req4";
- lantiq,output = <0>;
- lantiq,open-drain = <1>;
- lantiq,pull = <2>;
- };
- pci-out {
- lantiq,groups = "gnt1", "gnt2", "gnt3", "gnt4";
- lantiq,output = <1>;
- lantiq,pull = <0>;
- };
- };
-};
-
&gsw {
phy-mode = "mii";
mtd-mac-address = <&ath9k_cal 0xa91>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
+ <&pci_gnt3_pins>, <&pci_gnt4_pins>,
+ <&pci_req1_pins>, <&pci_req2_pins>,
+ <&pci_req3_pins>, <&pci_req4_pins>;
+
req-mask = <0xf>;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
lantiq,groups = "exin1";
lantiq,function = "exin";
};
- pci {
- lantiq,groups = "gnt1";
- lantiq,function = "pci";
- };
};
usb_vbus: regulator-usb-vbus {
};
};
+&pci0 {
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+};
+
&stp {
status = "okay";
lantiq,shadow = <0xfff>;
lantiq,groups = "exin3";
lantiq,function = "exin";
};
- pci-in {
- lantiq,groups = "req1";
- lantiq,function = "pci";
- lantiq,output = <0>;
- lantiq,open-drain = <1>;
- lantiq,pull = <2>;
- };
- pci-out {
- lantiq,groups = "gnt1";
- lantiq,function = "pci";
- lantiq,output = <1>;
- lantiq,open-drain = <0>;
- lantiq,pull = <0>;
- };
pci_rst {
lantiq,pins = "io21";
lantiq,output = <1>;
&pci0 {
status = "okay";
+
+ pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
+ pinctrl-names = "default";
+
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
};
};
+ pci_gnt1_pins: pci-gnt1 {
+ lantiq,groups = "gnt1";
+ lantiq,function = "pci";
+ lantiq,output = <1>;
+ lantiq,open-drain = <0>;
+ lantiq,pull = <0>;
+ };
+
+ pci_gnt2_pins: pci-gnt2 {
+ lantiq,groups = "gnt2";
+ lantiq,function = "pci";
+ lantiq,output = <1>;
+ lantiq,open-drain = <0>;
+ lantiq,pull = <0>;
+ };
+
+ pci_gnt3_pins: pci-gnt3 {
+ lantiq,groups = "gnt3";
+ lantiq,function = "pci";
+ lantiq,output = <1>;
+ lantiq,open-drain = <0>;
+ lantiq,pull = <0>;
+ };
+
+ pci_gnt4_pins: pci-gnt4 {
+ lantiq,groups = "gnt4";
+ lantiq,function = "pci";
+ lantiq,output = <1>;
+ lantiq,open-drain = <0>;
+ lantiq,pull = <0>;
+ };
+
+ pci_req1_pins: pci-req1 {
+ lantiq,groups = "req1";
+ lantiq,function = "pci";
+ lantiq,output = <0>;
+ lantiq,open-drain = <1>;
+ lantiq,pull = <2>;
+ };
+
+ pci_req2_pins: pci-req2 {
+ lantiq,groups = "req2";
+ lantiq,function = "pci";
+ lantiq,output = <0>;
+ lantiq,open-drain = <1>;
+ lantiq,pull = <2>;
+ };
+
+ pci_req3_pins: pci-req3 {
+ lantiq,groups = "req3";
+ lantiq,function = "pci";
+ lantiq,output = <0>;
+ lantiq,open-drain = <1>;
+ lantiq,pull = <2>;
+ };
+
+ pci_req4_pins: pci-req4 {
+ lantiq,groups = "req4";
+ lantiq,function = "pci";
+ lantiq,output = <0>;
+ lantiq,open-drain = <1>;
+ lantiq,pull = <2>;
+ };
+
spi_pins: spi {
mux-0 {
lantiq,groups = "spi_di";
};
};
+ pci_gnt1_pins: pci-gnt1 {
+ lantiq,groups = "gnt1";
+ lantiq,function = "pci";
+ lantiq,output = <1>;
+ lantiq,open-drain = <0>;
+ lantiq,pull = <0>;
+ };
+
+ pci_gnt2_pins: pci-gnt2 {
+ lantiq,groups = "gnt2";
+ lantiq,function = "pci";
+ lantiq,output = <1>;
+ lantiq,open-drain = <0>;
+ lantiq,pull = <0>;
+ };
+
+ pci_req1_pins: pci-req1 {
+ lantiq,groups = "req1";
+ lantiq,function = "pci";
+ lantiq,output = <0>;
+ lantiq,open-drain = <1>;
+ lantiq,pull = <2>;
+ };
+
+ pci_req2_pins: pci-req2 {
+ lantiq,groups = "req2";
+ lantiq,function = "pci";
+ lantiq,output = <0>;
+ lantiq,open-drain = <1>;
+ lantiq,pull = <2>;
+ };
+
stp_pins: stp {
lantiq,groups = "stp";
lantiq,function = "stp";
};
};
+ pci_gnt1_pins: pci-gnt1 {
+ lantiq,groups = "gnt1";
+ lantiq,function = "pci";
+ lantiq,output = <1>;
+ lantiq,open-drain = <0>;
+ lantiq,pull = <0>;
+ };
+
+ pci_req1_pins: pci-req1 {
+ lantiq,groups = "req1";
+ lantiq,function = "pci";
+ lantiq,output = <0>;
+ lantiq,open-drain = <1>;
+ lantiq,pull = <2>;
+ };
+
spi_pins: spi {
mux-0 {
lantiq,groups = "spi_di";