WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / at91-smartkiz.dts
blobb76a6b5ac464d567a2440775484caa2bb6a16bea
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright (C) 2017-2018 Overkiz SAS
4  *   Author: Mickael Gardet <m.gardet@overkiz.com>
5  *           Kévin Raymond <k.raymond@overkiz.com>
6  *           Dorian Rocipon <d.rocipon@overkiz.com>
7  */
8 /dts-v1/;
9 #include "at91-kizboxmini-common.dtsi"
11 / {
12         model = "Overkiz SmartKiz";
13         compatible = "overkiz,smartkiz", "atmel,at91sam9g25",
14                      "atmel,at91sam9x5", "atmel,at91sam9";
16         clocks {
17                 adc_op_clk {
18                         status = "okay";
19                 };
20         };
22         aliases {
23                 serial5 = &uart0;
24         };
26         pio_keys {
27                 hk_reset {
28                         label = "HK_RESET";
29                         gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
30                 };
32                 power_rf {
33                         label = "POWER_RF";
34                         gpios = <&pioA 20 GPIO_ACTIVE_HIGH>;
35                 };
37                 power_wifi {
38                         label = "POWER_WIFI";
39                         gpios = <&pioA 21 GPIO_ACTIVE_HIGH>;
40                 };
41         };
44 &pinctrl {
45         i2c1 {
46                 pinctrl_i2c1: i2c1-0 {
47                         atmel,pins =
48                                 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_PULL_UP
49                                 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>;
50                 };
51         };
53         adc0 {
54                 pinctrl_adc0_ad0: adc0_ad0-0 {
55                         /* pull-up disable */
56                         atmel,pins = <AT91_PIOB 11 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
57                 };
58                 pinctrl_adc0_ad5: adc0_ad5-0 {
59                         /* pull-up disable */
60                         atmel,pins = <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
61                 };
62                 pinctrl_adc0_ad6: adc0_ad6-0 {
63                         /* pull-up disable */
64                         atmel,pins = <AT91_PIOB 17 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
65                 };
66                 pinctrl_adc0_ad11: adc0_ad11-0 {
67                         /* pull-up disable */
68                         atmel,pins = <AT91_PIOB 10 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
69                 };
70         };
73 &i2c1 {
74         dmas = <0>, <0>;
75         pinctrl-0 = <&pinctrl_i2c1>;
76         status = "disabled";
79 &macb0 {
80         status = "disabled";
83 &rtc {
84         status = "okay";
87 &led_blue {
88         status = "okay";
91 &adc0 {
92         atmel,adc-vref = <2500>;
93         pinctrl-names = "default";
94         pinctrl-0 = <
95                 &pinctrl_adc0_ad0
96                 &pinctrl_adc0_ad5
97                 &pinctrl_adc0_ad6
98                 &pinctrl_adc0_ad11
99         >;
100         atmel,adc-channels-used = <0x0861>;
101         status = "okay";
104 &uart0 {
105         status = "okay";