1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-kizboxmini.dts - Device Tree file for Overkiz Kizbox mini board
5 * Copyright (C) 2014 Gaƫl PORTAY <g.portay@overkiz.com>
8 #include "at91sam9g25.dtsi"
9 #include <dt-bindings/pwm/pwm.h>
12 model = "Overkiz Kizbox mini";
13 compatible = "overkiz,kizboxmini", "atmel,at91sam9g25", "atmel,at91sam9x5", "atmel,at91sam9";
16 bootargs = "ubi.mtd=ubi";
21 reg = <0x20000000 0x8000000>;
26 clock-frequency = <32768>;
30 clock-frequency = <12000000>;
36 tcb0: timer@f8008000 {
38 compatible = "atmel,tcb-timer";
43 compatible = "atmel,tcb-timer";
48 usart0: serial@f801c000 {
52 macb0: ethernet@f802c000 {
58 pinctrl-names = "default";
59 pinctrl-0 = <&pinctrl_pwm0_pwm0_1
60 &pinctrl_pwm0_pwm1_1>;
64 dbgu: serial@fffff200 {
83 pinctrl-0 = <&pinctrl_ebi_addr_nand
84 &pinctrl_ebi_data_0_7>;
85 pinctrl-names = "default";
88 nand_controller: nand-controller {
90 pinctrl-0 = <&pinctrl_nand_oe_we
93 pinctrl-names = "default";
96 reg = <0x3 0x0 0x800000>;
97 rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
98 cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>;
100 nand-ecc-mode = "hw";
101 nand-ecc-strength = <4>;
102 nand-ecc-step-size = <512>;
104 label = "atmel_nand";
107 compatible = "fixed-partitions";
108 #address-cells = <1>;
118 reg = <0x20000 0x7fe0000>;
125 nand0: nand@40000000 {
126 nand-bus-width = <8>;
127 nand-ecc-mode = "hw";
129 atmel,pmecc-cap = <4>;
130 atmel,pmecc-sector-size = <512>;
138 compatible = "gpio-keys";
139 #address-cells = <1>;
144 gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
145 linux,code = <0x102>;
151 gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
152 linux,code = <0x100>;
158 compatible = "pwm-leds";
161 label = "pwm:green:user";
162 pwms = <&pwm0 0 10000000 0>;
163 max-brightness = <255>;
164 linux,default-trigger = "default-on";
168 label = "pwm:red:user";
169 pwms = <&pwm0 1 10000000 0>;
170 max-brightness = <255>;
171 linux,default-trigger = "default-on";