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";
35 reg = <0x00000000 0x00e00000>;
41 reg = <0x00e00000 0x07200000>;
54 compatible = "gpio-keys-polled";
57 poll-interval = <100>;
61 gpios = <&GPIOB 11 1>;
62 linux,code = <KEY_RESTART>;
66 gpios = <&GPIOB 13 1>;
67 linux,code = <KEY_COPY>;
72 compatible = "gpio-leds";
74 label = "zyxel:blue:status";
78 label = "zyxel:red:status";
82 label = "zyxel:orange:copy";
88 compatible = "i2c-gpio";
89 gpios = <&GPIOB 9 0 &GPIOB 10 0>;
90 i2c-gpio,delay-us = <10>;