5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "Akitio MyCloud";
11 compatible = "akitio,mycloud", "oxsemi,ox820";
14 bootargs = "earlyprintk console=ttyS0,115200";
15 stdout-path = "serial0:115200n8";
20 reg = <0x60000000 0x8000000>;
27 led-boot = &led_status;
28 led-failsafe = &led_status;
29 led-running = &led_status;
30 led-upgrade = &led_status;
34 compatible = "i2c-gpio";
35 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH
36 &gpio1 10 GPIO_ACTIVE_HIGH>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_i2c>;
39 i2c-gpio,delay-us = <10>;
43 compatible = "dallas,ds1307";
49 compatible = "gpio-keys-polled";
50 pinctrl-names = "default";
51 pinctrl-0 = <&pinctrl_buttons>;
54 poll-interval = <100>;
57 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_POWER>;
62 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_RESTART>;
68 compatible = "gpio-leds";
69 pinctrl-names = "default";
70 pinctrl-0 = <&pinctrl_leds>;
72 label = "akitio:red:status";
73 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
78 compatible = "gpio-poweroff";
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_poweroff>;
81 gpios = <&gpio1 13 GPIO_SINGLE_ENDED>;
88 pins = "gpio41", "gpio42"; /* MF_B9, MF_B10 */
90 /* ToDo: find a way to set debounce for those pins */
93 pinctrl_buttons: buttons-0 {
95 pins = "gpio11", "gpio38"; /* MF_A11, MF_B6 GPIO */
99 pinctrl_leds: leds-0 {
101 pins = "gpio29"; /* MF_A29 GPIO */
105 pinctrl_poweroff: poweroff-0 {
107 pins = "gpio45"; /* MF_B13 GPIO */
116 pinctrl-names = "default";
117 pinctrl-0 = <&pinctrl_uart0>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&pinctrl_nand>;
128 #address-cells = <1>;
130 nand-ecc-mode = "soft";
131 nand-ecc-algo = "hamming";
135 reg = <0x0 0x26c0000>;
140 reg = <0x26c0000 0xd940000>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&pinctrl_etha_mdio>;