2 * Copyright (C) 2014 Daniel Golle <daniel@makrotopia.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.
12 #include <dt-bindings/input/input.h>
15 model = "Shuttle KD20";
18 bootargs = "console=ttyS0,115200n8 earlyprintk=serial mem=256M";
21 pcie-controller@47C00000 {
37 phy-mode = "rgmii-id";
45 compatible = "i2c-gpio";
46 gpios = <&GPIOB 9 0 &GPIOB 10 0>;
47 i2c-gpio,delay-us = <10>;
51 compatible = "nxp,pcf8563";
57 compatible = "gpio-keys-polled";
60 poll-interval = <100>;
64 gpios = <&GPIOA 10 1>;
65 linux,code = <KEY_POWER>;
69 gpios = <&GPIOA 11 1>;
70 linux,code = <KEY_RESTART>;
75 linux,code = <KEY_EJECTCD>;
85 compatible = "gpio-leds";
87 label = "kd20:blue:status";
88 gpios = <&GPIOB 16 0>;
91 label = "kd20:red:status";
92 gpios = <&GPIOB 17 0>;
95 label = "kd20:blue:hdd1";
96 gpios = <&GPIOA 27 0>;
97 linux,default-trigger = "ata1";
100 label = "kd20:red:hdd1";
101 gpios = <&GPIOB 4 0>;
104 label = "kd20:blue:hdd2";
105 gpios = <&GPIOB 6 0>;
106 linux,default-trigger = "ata2";
109 label = "kd20:red:hdd2";
110 gpios = <&GPIOB 7 0>;
113 label = "kd20:blue:usb";
114 gpios = <&GPIOB 8 0>;
119 compatible = "gpio-beeper";
120 gpios = <&GPIOB 11 0>;
124 compatible = "gpio-fan";
125 gpios = <&GPIOA 2 1>;
126 gpio-fan,speed-map = <0 0
131 compatible = "gpio-poweroff";
132 gpios = <&GPIOA 9 0>;
141 #address-cells = <1>;
143 nand-ecc-mode = "soft";
144 nand-ecc-algo = "hamming";
148 reg = <0x00000000 0x00040000>;
154 reg = <0x00040000 0x00200000>;
160 reg = <0x00240000 0x00600000>;
165 reg = <0x00840000 0x007C0000>;
170 reg = <0x01000000 0x07000000>;