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 {
39 reg = <0x00000000 0x00040000>;
45 reg = <0x00040000 0x00200000>;
51 reg = <0x00240000 0x00600000>;
56 reg = <0x00840000 0x007C0000>;
61 reg = <0x01000000 0x07000000>;
68 phy-mode = "rgmii-id";
76 compatible = "i2c-gpio";
77 gpios = <&GPIOB 9 0 &GPIOB 10 0>;
78 i2c-gpio,delay-us = <10>;
82 compatible = "nxp,pcf8563";
88 compatible = "gpio-keys-polled";
91 poll-interval = <100>;
95 gpios = <&GPIOA 10 1>;
96 linux,code = <KEY_POWER>;
100 gpios = <&GPIOA 11 1>;
101 linux,code = <KEY_RESTART>;
105 gpios = <&GPIOA 5 1>;
106 linux,code = <KEY_EJECTCD>;
110 gpios = <&GPIOA 6 1>;
116 compatible = "gpio-leds";
118 label = "kd20:blue:status";
119 gpios = <&GPIOB 16 0>;
122 label = "kd20:red:status";
123 gpios = <&GPIOB 17 0>;
126 label = "kd20:blue:hdd1";
127 gpios = <&GPIOA 27 0>;
128 linux,default-trigger = "ata1";
131 label = "kd20:red:hdd1";
132 gpios = <&GPIOB 4 0>;
135 label = "kd20:blue:hdd2";
136 gpios = <&GPIOB 6 0>;
137 linux,default-trigger = "ata2";
140 label = "kd20:red:hdd2";
141 gpios = <&GPIOB 7 0>;
144 label = "kd20:blue:usb";
145 gpios = <&GPIOB 8 0>;
150 compatible = "gpio-beeper";
151 gpios = <&GPIOB 11 0>;
155 compatible = "gpio-fan";
156 gpios = <&GPIOA 2 1>;
157 gpio-fan,speed-map = <0 0
162 compatible = "gpio-poweroff";
163 gpios = <&GPIOA 9 0>;