1 // SPDX-License-Identifier: GPL-2.0
3 * at91-kizbox3-hs.dts - Device Tree file for Overkiz KIZBOX3-HS board
5 * Copyright (C) 2018 Overkiz SAS
7 * Authors: Dorian Rocipon <d.rocipon@overkiz.com>
8 * Kevin Carli <k.carli@overkiz.com>
9 * Mickael Gardet <m.gardet@overkiz.com>
12 #include "at91-kizbox3_common.dtsi"
15 model = "Overkiz KIZBOX3-HS";
16 compatible = "overkiz,kizbox3-hs", "atmel,sama5d2", "atmel,sama5";
39 compatible = "gpio-leds";
40 pinctrl-names = "default";
41 pinctrl-0 = <&pinctrl_led_red
46 label = "pio:red:user";
47 gpios = <&pioA PIN_PB1 GPIO_ACTIVE_HIGH>;
48 default-state = "off";
52 label = "pio:white:user";
53 gpios = <&pioA PIN_PB8 GPIO_ACTIVE_HIGH>;
54 default-state = "off";
59 compatible = "gpio-keys";
60 pinctrl-names = "default" , "default", "default",
61 "default", "default" ;
62 pinctrl-0 = <&pinctrl_key_gpio_default>;
63 pinctrl-1 = <&pinctrl_pio_rf &pinctrl_pio_wifi>;
64 pinctrl-2 = <&pinctrl_pio_io_boot
66 &pinctrl_pio_io_test_radio>;
67 pinctrl-3 = <&pinctrl_pio_zbe_test_radio
68 &pinctrl_pio_zbe_rst>;
69 pinctrl-4 = <&pinctrl_pio_input>;
73 gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>;
80 gpios = <&pioA PIN_PA18 GPIO_ACTIVE_LOW>;
87 gpios = <&pioA PIN_PA22 GPIO_ACTIVE_LOW>;
94 gpios = <&pioA PIN_PA26 GPIO_ACTIVE_LOW>;
101 gpios = <&pioA PIN_PA24 GPIO_ACTIVE_LOW>;
102 linux,code = <0x108>;
113 gpio = <&pioA PIN_PC19 GPIO_ACTIVE_HIGH>;
120 gpio = <&pioA PIN_PC20 GPIO_ACTIVE_HIGH>;
126 label = "zbe test radio";
127 gpio = <&pioA PIN_PB21 GPIO_ACTIVE_HIGH>;
134 gpio = <&pioA PIN_PB25 GPIO_ACTIVE_HIGH>;
141 gpio = <&pioA PIN_PB30 GPIO_ACTIVE_HIGH>;
147 label = "io test radio";
148 gpio = <&pioA PIN_PC9 GPIO_ACTIVE_HIGH>;
155 gpio = <&pioA PIN_PC11 GPIO_ACTIVE_HIGH>;
162 gpio = <&pioA PIN_PC17 GPIO_ACTIVE_HIGH>;
168 label = "verbose bootloader";
169 gpio = <&pioA PIN_PB11 GPIO_ACTIVE_HIGH>;
174 label = "nail bed detection";
175 gpio = <&pioA PIN_PB12 GPIO_ACTIVE_HIGH>;
181 gpio = <&pioA PIN_PC0 GPIO_ACTIVE_LOW>;
188 pinctrl_key_gpio_default: key_gpio_default {
189 pinmux= <PIN_PA22__GPIO>,
198 pinctrl_pio_rf: gpio_rf {
199 pinmux = <PIN_PC19__GPIO>;
202 pinctrl_pio_wifi: gpio_wifi {
203 pinmux = <PIN_PC20__GPIO>;
206 pinctrl_pio_io_boot: gpio_io_boot {
212 pinctrl_pio_io_test_radio: gpio_io_test_radio {
213 pinmux = <PIN_PC9__GPIO>;
216 pinctrl_pio_zbe_test_radio: gpio_zbe_test_radio {
217 pinmux = <PIN_PB21__GPIO>;
220 pinctrl_pio_zbe_rst: gpio_zbe_rst {
221 pinmux = <PIN_PB25__GPIO>;
224 /* stm32 reset must be open drain (internal pull up) */
225 pinctrl_pio_io_reset: gpio_io_reset {
226 pinmux = <PIN_PB30__GPIO>;
228 drive-open-drain = <1>;
231 pinctrl_pio_input: gpio_input {
241 pinctrl_led_red: led_red {
242 pinmux = <PIN_PB1__GPIO>;
245 pinctrl_led_white: led_white {
246 pinmux = <PIN_PB8__GPIO>;