2 * Copyright (C) 2013 OpenWrt.org
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
13 #include <dt-bindings/input/input.h>
16 model = "MitraStar Technology Corp. STG-212";
19 bootargs = "console=ttyS0,115200n8 earlyprintk=serial mem=128M";
40 compatible = "gpio-keys-polled";
43 poll-interval = <100>;
47 gpios = <&GPIOB 11 1>;
48 linux,code = <KEY_RESTART>;
52 gpios = <&GPIOB 13 1>;
53 linux,code = <KEY_COPY>;
58 compatible = "gpio-leds";
60 label = "zyxel:blue:status";
64 label = "zyxel:red:status";
68 label = "zyxel:orange:copy";
74 compatible = "i2c-gpio";
75 gpios = <&GPIOB 9 0 &GPIOB 10 0>;
76 i2c-gpio,delay-us = <10>;
88 nand-ecc-mode = "soft";
89 nand-ecc-algo = "hamming";
93 reg = <0x00000000 0x00e00000>;
99 reg = <0x00e00000 0x07200000>;