1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-kizbox.dts - Device Tree file for Overkiz Kizbox board
5 * Copyright (C) 2012-2014 Boris BREZILLON <b.brezillon@overkiz.com>
6 * 2014-2015 Gaƫl PORTAY <g.portay@overkiz.com>
9 #include "at91sam9g20.dtsi"
10 #include <dt-bindings/pwm/pwm.h>
13 model = "Overkiz Kizbox";
14 compatible = "overkiz,kizbox", "atmel,at91sam9g20", "atmel,at91sam9";
17 bootargs = "ubi.mtd=ubi";
22 reg = <0x20000000 0x2000000>;
27 clock-frequency = <18432000>;
33 tcb0: timer@fffa0000 {
35 compatible = "atmel,tcb-timer";
40 compatible = "atmel,tcb-timer";
45 macb0: ethernet@fffc4000 {
47 pinctrl-0 = <&pinctrl_macb_rmii
48 &pinctrl_macb_rmii_mii_alt>;
52 usart3: serial@fffd0000 {
56 dbgu: serial@fffff200 {
62 atmel,max-heartbeat-sec = <16>;
63 atmel,min-heartbeat-sec = <0>;
76 nand_controller: nand-controller {
78 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
79 pinctrl-names = "default";
82 reg = <0x3 0x0 0x800000>;
83 rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
84 cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
86 nand-ecc-mode = "soft";
91 compatible = "fixed-partitions";
102 reg = <0x20000 0x7fe0000>;
111 compatible = "gpio-keys";
112 #address-cells = <1>;
117 gpios = <&pioB 30 GPIO_ACTIVE_HIGH>;
118 linux,code = <0x100>;
124 gpios = <&pioB 31 GPIO_ACTIVE_HIGH>;
125 linux,code = <0x101>;
134 compatible = "nxp,pcf8563";
140 compatible = "pwm-leds";
143 label = "pwm:green:network";
144 pwms = <&tcb_pwm 2 10000000 PWM_POLARITY_INVERTED>;
145 max-brightness = <255>;
146 linux,default-trigger = "default-on";
150 label = "pwm:red:network";
151 pwms = <&tcb_pwm 4 10000000 PWM_POLARITY_INVERTED>;
152 max-brightness = <255>;
153 linux,default-trigger = "default-on";
157 label = "pwm:green:user";
158 pwms = <&tcb_pwm 0 10000000 PWM_POLARITY_INVERTED>;
159 max-brightness = <255>;
160 linux,default-trigger = "default-on";
164 label = "pwm:red:user";
165 pwms = <&tcb_pwm 1 10000000 PWM_POLARITY_INVERTED>;
166 max-brightness = <255>;
167 linux,default-trigger = "default-on";
172 compatible = "atmel,tcb-pwm";
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_tcb1_tioa0
179 &pinctrl_tcb1_tiob0>;