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 usart0: serial@f801c000 {
41 macb0: ethernet@f802c000 {
47 pinctrl-names = "default";
48 pinctrl-0 = <&pinctrl_pwm0_pwm0_1
49 &pinctrl_pwm0_pwm1_1>;
53 dbgu: serial@fffff200 {
72 pinctrl-0 = <&pinctrl_ebi_addr_nand
73 &pinctrl_ebi_data_0_7>;
74 pinctrl-names = "default";
77 nand_controller: nand-controller {
79 pinctrl-0 = <&pinctrl_nand_oe_we
82 pinctrl-names = "default";
85 reg = <0x3 0x0 0x800000>;
86 rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
87 cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>;
90 nand-ecc-strength = <4>;
91 nand-ecc-step-size = <512>;
96 compatible = "fixed-partitions";
107 reg = <0x20000 0x7fe0000>;
114 nand0: nand@40000000 {
115 nand-bus-width = <8>;
116 nand-ecc-mode = "hw";
118 atmel,pmecc-cap = <4>;
119 atmel,pmecc-sector-size = <512>;
127 compatible = "gpio-keys";
128 #address-cells = <1>;
133 gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
134 linux,code = <0x102>;
140 gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
141 linux,code = <0x100>;
147 compatible = "pwm-leds";
150 label = "pwm:green:user";
151 pwms = <&pwm0 0 10000000 0>;
152 max-brightness = <255>;
153 linux,default-trigger = "default-on";
157 label = "pwm:red:user";
158 pwms = <&pwm0 1 10000000 0>;
159 max-brightness = <255>;
160 linux,default-trigger = "default-on";