2 * Copyright (C) 2016 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 = "Akitio MyCloud mini";
18 bootargs = "console=ttyS0,115200n8 earlyprintk=serial";
21 pcie-controller@47C00000 {
39 reg = <0x0 0x26c0000>;
44 reg = <0x26c0000 0xd940000>;
57 compatible = "i2c-gpio";
58 gpios = <&GPIOB 9 0 &GPIOB 10 0>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_i2c>;
61 i2c-gpio,delay-us = <10>;
65 compatible = "dallas,ds1307";
71 compatible = "gpio-keys-polled";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_buttons>;
76 poll-interval = <100>;
79 gpios = <&GPIOA 11 1>;
80 linux,code = <KEY_POWER>;
85 linux,code = <KEY_RESTART>;
90 compatible = "gpio-leds";
91 pinctrl-names = "default";
92 pinctrl-0 = <&pinctrl_leds>;
94 label = "akitio:red:status";
95 gpios = <&GPIOA 29 0>;
100 compatible = "gpio-poweroff";
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_poweroff>;
103 gpios = <&GPIOB 13 2>;
110 <1 9 0 4 /* MF_B9 GPIO debounce */
111 1 10 0 4>; /* MF_B10 GPIO debounce */
115 pinctrl_buttons: buttons-0 {
117 <0 11 0 0 /* MF_A11 GPIO */
118 1 6 0 0>; /* MF_B6 GPIO */
122 pinctrl_leds: leds-0 {
124 <0 29 0 0>; /* MF_A29 GPIO */
128 pinctrl_poweroff: poweroff-0 {
130 <1 13 0 0>; /* MF_B13 GPIO */