5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "MitraStar Technology Corp. STG-212";
11 compatible = "mitrastar,stg-212", "oxsemi,ox820";
14 bootargs = "earlyprintk console=ttyS0,115200";
15 stdout-path = "serial0:115200n8";
20 reg = <0x60000000 0x8000000>;
27 led-boot = &led_status;
28 led-failsafe = &led_warn;
29 led-running = &led_status;
30 led-upgrade = &led_warn;
34 compatible = "gpio-keys-polled";
37 poll-interval = <100>;
41 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
46 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_COPY>;
52 compatible = "gpio-leds";
54 label = "zyxel:blue:status";
55 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
58 label = "zyxel:red:status";
59 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
62 label = "zyxel:orange:copy";
63 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
64 trigger-sources = <&ehci_port1>, <&ehci_port2>;
65 linux,default-trigger = "usbport";
70 compatible = "i2c-gpio";
71 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH
72 &gpio1 10 GPIO_ACTIVE_HIGH>;
73 i2c-gpio,delay-us = <10>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&pinctrl_uart0>;
87 pinctrl-names = "default";
88 pinctrl-0 = <&pinctrl_nand>;
94 nand-ecc-mode = "soft";
95 nand-ecc-algo = "hamming";
99 reg = <0x00000000 0x00040000>;
105 reg = <0x00040000 0x00380000>;
110 label = "u-boot-env";
111 reg = <0x003c0000 0x00080000>;
116 reg = <0x00440000 0x009c0000>;
121 reg = <0x00e00000 0x07200000>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&pinctrl_etha_mdio>;