lantiq,open-drain = <0>;
lantiq,output = <1>;
};
- stp {
- lantiq,groups = "stp";
- lantiq,function = "stp";
- lantiq,open-drain = <0>;
- lantiq,output = <1>;
- };
exin {
lantiq,groups = "exin1", "exin2";
lantiq,function = "exin";
pinctrl-0 = <&state_default>;
state_default: pinmux {
- stp {
- lantiq,groups = "stp";
- lantiq,function = "stp";
- };
exin {
lantiq,groups = "exin1";
lantiq,function = "exin";
lantiq,groups = "gnt1";
lantiq,function = "pci";
};
- conf_out {
- lantiq,pins = "io4", "io5", "io6"; /* stp */
- lantiq,open-drain;
- lantiq,pull = <0>;
- };
};
};
pinctrl-0 = <&state_default>;
state_default: pinmux {
- stp {
- lantiq,groups = "stp";
- lantiq,function = "stp";
- };
exin {
lantiq,groups = "exin1";
lantiq,function = "exin";
lantiq,groups = "gnt1";
lantiq,function = "pci";
};
- conf_out {
- lantiq,pins = "io4", "io5", "io6"; /* stp */
- lantiq,open-drain;
- lantiq,pull = <0>;
- };
};
};
lantiq,groups = "exin3";
lantiq,function = "exin";
};
- stp {
- lantiq,groups = "stp";
- lantiq,function = "stp";
- };
pci {
lantiq,groups = "gnt1", "req1";
lantiq,function = "pci";
};
conf_out {
- lantiq,pins = "io4", "io5", "io6", /* stp */
- "io21",
+ lantiq,pins = "io21",
"io33";
lantiq,open-drain;
lantiq,pull = <0>;
};
};
-&gpio {
- pinctrl-names = "default";
- pinctrl-0 = <&state_default>;
-
- state_default: pinmux {
- stp {
- lantiq,groups = "stp";
- lantiq,function = "stp";
- };
- };
-};
-
&gpios {
status = "okay";
};
pinctrl-0 = <&state_default>;
state_default: pinmux {
- stp {
- lantiq,groups = "stp";
- lantiq,function = "stp";
- lantiq,pull = <2>;
- lantiq,open-drain = <0>;
- lantiq,output = <1>;
- };
exin {
lantiq,groups = "exin1";
lantiq,function = "exin";
lantiq,groups = "gnt1";
lantiq,function = "pci";
};
- conf_out {
- lantiq,pins = "io4", "io5", "io6";
- lantiq,open-drain;
- lantiq,pull = <0>;
- };
};
usb_vbus: regulator-usb-vbus {
lantiq,groups = "exin3";
lantiq,function = "exin";
};
- stp {
- lantiq,groups = "stp";
- lantiq,function = "stp";
- lantiq,pull = <2>;
- lantiq,open-drain = <0>;
- lantiq,output = <1>;
- };
pci-in {
lantiq,groups = "req1";
lantiq,function = "pci";
pinctrl-0 = <&state_default>;
state_default: pinmux {
- stp {
- lantiq,groups = "stp";
- lantiq,function = "stp";
- lantiq,open-drain = <0>;
- lantiq,output = <1>;
- lantiq,pull = <0>;
- };
pci-rst {
lantiq,pins = "io21";
lantiq,open-drain = <0>;
lantiq,output = <1>;
};
};
+
+ stp_pins: stp {
+ lantiq,groups = "stp";
+ lantiq,function = "stp";
+ lantiq,pull = <0>;
+ lantiq,open-drain = <0>;
+ lantiq,output = <1>;
+ };
};
stp: stp@e100bb0 {
compatible = "lantiq,gpio-stp-xway";
gpio-controller;
reg = <0xe100bb0 0x40>;
+
+ pinctrl-0 = <&stp_pins>;
+ pinctrl-names = "default";
+
status = "disabled";
};
compatible = "lantiq,gpio-stp-xway";
gpio-controller;
reg = <0xe100bb0 0x40>;
+
+ pinctrl-0 = <&stp_pins>;
+ pinctrl-names = "default";
+
lantiq,shadow = <0xfff>;
lantiq,groups = <0x3>;
status = "disabled";
lantiq,pull = <0>;
};
};
+
+ stp_pins: stp {
+ lantiq,groups = "stp";
+ lantiq,function = "stp";
+ lantiq,pull = <0>;
+ lantiq,open-drain = <0>;
+ lantiq,output = <1>;
+ };
};
asc1: serial@e100c00 {
lantiq,output = <1>;
};
};
+
+ stp_pins: stp {
+ lantiq,groups = "stp";
+ lantiq,function = "stp";
+ lantiq,pull = <0>;
+ lantiq,open-drain = <0>;
+ lantiq,output = <1>;
+ };
};
stp: stp@e100bb0 {
#gpio-cells = <2>;
gpio-controller;
+ pinctrl-0 = <&stp_pins>;
+ pinctrl-names = "default";
+
lantiq,shadow = <0xffffff>;
lantiq,groups = <0x7>;
lantiq,dsl = <0x0>;