2 * at91-kizboxmini.dts - Device Tree file for Overkiz Kizbox mini board
4 * Copyright (C) 2014 Gaƫl PORTAY <g.portay@overkiz.com>
6 * Licensed under GPLv2 or later.
9 #include "at91sam9g25.dtsi"
10 #include <dt-bindings/pwm/pwm.h>
13 model = "Overkiz Kizbox mini";
14 compatible = "overkiz,kizboxmini", "atmel,at91sam9g25", "atmel,at91sam9x5", "atmel,at91sam9";
17 bootargs = "ubi.mtd=ubi";
22 reg = <0x20000000 0x8000000>;
27 clock-frequency = <32768>;
31 clock-frequency = <12000000>;
37 tcb0: timer@f8008000 {
39 compatible = "atmel,tcb-timer";
44 compatible = "atmel,tcb-timer";
49 usart0: serial@f801c000 {
53 macb0: ethernet@f802c000 {
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_pwm0_pwm0_1
61 &pinctrl_pwm0_pwm1_1>;
65 dbgu: serial@fffff200 {
84 pinctrl-0 = <&pinctrl_ebi_addr_nand
85 &pinctrl_ebi_data_0_7>;
86 pinctrl-names = "default";
89 nand_controller: nand-controller {
91 pinctrl-0 = <&pinctrl_nand_oe_we
94 pinctrl-names = "default";
97 reg = <0x3 0x0 0x800000>;
98 rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
99 cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>;
100 nand-bus-width = <8>;
101 nand-ecc-mode = "hw";
102 nand-ecc-strength = <4>;
103 nand-ecc-step-size = <512>;
105 label = "atmel_nand";
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
119 reg = <0x20000 0x7fe0000>;
126 nand0: nand@40000000 {
127 nand-bus-width = <8>;
128 nand-ecc-mode = "hw";
130 atmel,pmecc-cap = <4>;
131 atmel,pmecc-sector-size = <512>;
139 compatible = "gpio-keys";
140 #address-cells = <1>;
145 gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
146 linux,code = <0x102>;
152 gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
153 linux,code = <0x100>;
159 compatible = "pwm-leds";
162 label = "pwm:green:user";
163 pwms = <&pwm0 0 10000000 0>;
164 max-brightness = <255>;
165 linux,default-trigger = "default-on";
169 label = "pwm:red:user";
170 pwms = <&pwm0 1 10000000 0>;
171 max-brightness = <255>;
172 linux,default-trigger = "default-on";