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.
13 model = "Akitio MyCloud mini";
16 bootargs = "console=ttyS0,115200n8 earlyprintk=serial";
19 pcie-controller@47C00000 {
37 reg = <0x0 0x26c0000>;
42 reg = <0x26c0000 0xd940000>;
55 compatible = "i2c-gpio";
56 gpios = <&GPIOB 9 0 &GPIOB 10 0>;
57 pinctrl-names = "default";
58 pinctrl-0 = <&pinctrl_i2c>;
59 i2c-gpio,delay-us = <10>;
63 compatible = "dallas,ds1307";
69 compatible = "gpio-keys-polled";
70 pinctrl-names = "default";
71 pinctrl-0 = <&pinctrl_buttons>;
74 poll-interval = <100>;
77 gpios = <&GPIOA 11 1>;
88 compatible = "gpio-leds";
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_leds>;
92 label = "akitio:red:status";
93 gpios = <&GPIOA 29 0>;
98 compatible = "gpio-poweroff";
99 pinctrl-names = "default";
100 pinctrl-0 = <&pinctrl_poweroff>;
101 gpios = <&GPIOB 13 2>;
108 <1 9 0 4 /* MF_B9 GPIO debounce */
109 1 10 0 4>; /* MF_B10 GPIO debounce */
113 pinctrl_buttons: buttons-0 {
115 <0 11 0 0 /* MF_A11 GPIO */
116 1 6 0 0>; /* MF_B6 GPIO */
120 pinctrl_leds: leds-0 {
122 <0 29 0 0>; /* MF_A29 GPIO */
126 pinctrl_poweroff: poweroff-0 {
128 <1 13 0 0>; /* MF_B13 GPIO */