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 {
48 compatible = "i2c-gpio";
49 gpios = <&GPIOB 9 0 &GPIOB 10 0>;
50 pinctrl-names = "default";
51 pinctrl-0 = <&pinctrl_i2c>;
52 i2c-gpio,delay-us = <10>;
56 compatible = "dallas,ds1307";
62 compatible = "gpio-keys-polled";
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_buttons>;
67 poll-interval = <100>;
70 gpios = <&GPIOA 11 1>;
71 linux,code = <KEY_POWER>;
76 linux,code = <KEY_RESTART>;
81 compatible = "gpio-leds";
82 pinctrl-names = "default";
83 pinctrl-0 = <&pinctrl_leds>;
85 label = "akitio:red:status";
86 gpios = <&GPIOA 29 0>;
91 compatible = "gpio-poweroff";
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_poweroff>;
94 gpios = <&GPIOB 13 2>;
101 <1 9 0 4 /* MF_B9 GPIO debounce */
102 1 10 0 4>; /* MF_B10 GPIO debounce */
106 pinctrl_buttons: buttons-0 {
108 <0 11 0 0 /* MF_A11 GPIO */
109 1 6 0 0>; /* MF_B6 GPIO */
113 pinctrl_leds: leds-0 {
115 <0 29 0 0>; /* MF_A29 GPIO */
119 pinctrl_poweroff: poweroff-0 {
121 <1 13 0 0>; /* MF_B13 GPIO */
132 #address-cells = <1>;
134 nand-ecc-mode = "soft";
135 nand-ecc-algo = "hamming";
139 reg = <0x00000000 0x026c0000>;
144 reg = <0x026c0000 0x0d940000>;