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