mode {
label = "reset";
- gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
reg = <0x0 0x8000000>;
};
- gpio1: rtl8231-gpio {
- status = "okay";
-
- poe_enable {
- gpio-hog;
- gpios = <13 0>;
- output-high;
- };
- };
-
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
};
leds {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinmux_disable_sys_led>;
compatible = "gpio-leds";
led_sys: sys {
label = "green:sys";
- gpios = <&gpio0 47 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
};
};
+&gpio1 {
+ status = "okay";
+
+ poe_enable {
+ gpio-hog;
+ gpios = <13 0>;
+ output-high;
+ };
+};
+
&spi0 {
status = "okay";
compatible = "gpio-keys-polled";
poll-interval = <20>;
- reset {
+ /* is this pin 3 on the external RTL8231 (&gpio1)? */
+ /*reset {
label = "reset";
gpios = <&gpio0 67 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
- };
+ };*/
};
leds {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinmux_disable_sys_led>;
compatible = "gpio-leds";
led_sys: sys {
label = "green:sys";
- gpios = <&gpio0 47 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
// GPIO 25: power on/off all port leds
};
};
-&gpio0 {
- indirect-access-bus-id = <0>;
-};
-
&spi0 {
status = "okay";
};
leds {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinmux_disable_sys_led>;
compatible = "gpio-leds";
led_power: power {
- // GPIO 24 seems to provide power to the leds
+ // GPIO 0 seems to provide power to the leds
label = "green:power";
- gpios = <&gpio0 47 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-keys-polled";
poll-interval = <20>;
- mode {
+ /* is this pin 30 on the external RTL8231 (&gpio1)? */
+ /*mode {
label = "reset";
gpios = <&gpio0 94 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
- };
+ };*/
};
};
-&gpio0 {
- indirect-access-bus-id = <0>;
-};
-
&spi0 {
status = "okay";
flash@0 {
led_power: power {
label = "green:power";
- gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
};
};
reset {
label = "reset";
- gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
};
-&gpio0 {
- indirect-access-bus-id = <0>;
-};
-
&spi0 {
status = "okay";