xref: /freebsd/sys/contrib/device-tree/src/arm/microchip/at91-kizboxmini-rd.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (C) 2015-2018 Overkiz SAS
4*f126890aSEmmanuel Vadot *   Author: Mickael Gardet <m.gardet@overkiz.com>
5*f126890aSEmmanuel Vadot *           Kévin Raymond <k.raymond@overkiz.com>
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot#include "at91-kizboxmini-common.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	model = "Overkiz Kizbox Mini RailDIN";
12*f126890aSEmmanuel Vadot	compatible = "overkiz,kizboxmini-rd", "atmel,at91sam9g25",
13*f126890aSEmmanuel Vadot		     "atmel,at91sam9x5", "atmel,at91sam9";
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	clocks {
16*f126890aSEmmanuel Vadot		adc_op_clk {
17*f126890aSEmmanuel Vadot			status = "okay";
18*f126890aSEmmanuel Vadot		};
19*f126890aSEmmanuel Vadot	};
20*f126890aSEmmanuel Vadot};
21*f126890aSEmmanuel Vadot
22*f126890aSEmmanuel Vadot&pinctrl {
23*f126890aSEmmanuel Vadot	adc0 {
24*f126890aSEmmanuel Vadot		pinctrl_adc0_ad5: adc0_ad5-0 {
25*f126890aSEmmanuel Vadot			/* pull-up disable */
26*f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
27*f126890aSEmmanuel Vadot		};
28*f126890aSEmmanuel Vadot	};
29*f126890aSEmmanuel Vadot};
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot&usart0 {
32*f126890aSEmmanuel Vadot	status = "disabled";
33*f126890aSEmmanuel Vadot};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot&rtc {
36*f126890aSEmmanuel Vadot	status = "okay";
37*f126890aSEmmanuel Vadot};
38*f126890aSEmmanuel Vadot
39*f126890aSEmmanuel Vadot&led_blue {
40*f126890aSEmmanuel Vadot	status = "okay";
41*f126890aSEmmanuel Vadot};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot&adc0 {
44*f126890aSEmmanuel Vadot	atmel,adc-vref = <2500>;
45*f126890aSEmmanuel Vadot	pinctrl-names = "default";
46*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_adc0_ad5>;
47*f126890aSEmmanuel Vadot	atmel,adc-channels-used = <0x0020>;
48*f126890aSEmmanuel Vadot	status = "okay";
49*f126890aSEmmanuel Vadot};
50