1 // SPDX-License-Identifier: GPL-2.0
3 * at91-som60.dtsi - Device Tree file for the SOM60 module
5 * Copyright (C) 2018 Laird,
6 * 2018 Ben Whitten <ben.whitten@lairdtech.com>
9 #include "sama5d36.dtsi"
12 model = "Laird SOM60";
13 compatible = "laird,som60", "atmel,sama5d36", "atmel,sama5d3", "atmel,sama5";
20 reg = <0x20000000 0x8000000>;
25 clock-frequency = <32768>;
29 clock-frequency = <12000000>;
36 pinctrl_mmc0_cd: mmc0_cd {
38 <AT91_PIOE 31 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>;
41 pinctrl_mmc0_en: mmc0_en {
43 <AT91_PIOE 30 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
46 pinctrl_nand0_wp: nand0_wp {
48 <AT91_PIOE 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
51 pinctrl_usb_vbus: usb_vbus {
53 <AT91_PIOE 20 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
54 /* Conflicts with USART2_SCK */
57 pinctrl_usart2_sck: usart2_sck {
59 <AT91_PIOE 20 AT91_PERIPH_B AT91_PINCTRL_NONE>;
60 /* Conflicts with USB_VBUS */
63 pinctrl_usb_oc: usb_oc {
65 <AT91_PIOE 15 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>;
66 /* Conflicts with USART3_SCK */
69 pinctrl_usart3_sck: usart3_sck {
71 <AT91_PIOE 15 AT91_PERIPH_B AT91_PINCTRL_NONE>;
72 /* Conflicts with USB_OC */
75 pinctrl_usba_vbus: usba_vbus {
77 <AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>;
80 pinctrl_geth_int: geth_int {
82 <AT91_PIOB 25 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>;
83 /* Conflicts with USART1_SCK */
86 pinctrl_usart1_sck: usart1_sck {
88 <AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
89 /* Conflicts with GETH_INT */
92 pinctrl_eth_int: eth_int {
94 <AT91_PIOC 10 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>;
97 pinctrl_pck2_as_audio_mck: pck2_as_audio_mck {
99 <AT91_PIOC 15 AT91_PERIPH_B AT91_PINCTRL_NONE>;
120 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
127 pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts_cts>;
131 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
135 pinctrl-0 = <&pinctrl_usart2 &pinctrl_usart2_rts_cts>;
139 pinctrl-0 = <&pinctrl_usart3 &pinctrl_usart3_rts_cts>;
163 pinctrl-0 = <&pinctrl_ebi_nand_addr>;
164 pinctrl-names = "default";
174 nand-bus-width = <8>;
175 nand-ecc-mode = "hw";
176 nand-ecc-strength = <8>;
177 nand-ecc-step-size = <512>;
179 label = "atmel_nand";
182 compatible = "fixed-partitions";
183 #address-cells = <1>;
187 label = "u-boot-spl";
193 reg = <0x20000 0x80000>;
197 label = "u-boot-env";
198 reg = <0xa0000 0x20000>;
202 label = "u-boot-env";
203 reg = <0xc0000 0x20000>;
208 reg = <0xe0000 0xfe00000>;
215 pinctrl-names = "default";
216 pinctrl-0 = <&pinctrl_usba_vbus>;
217 atmel,vbus-gpio = <&pioC 14 GPIO_ACTIVE_HIGH>;
221 pinctrl-names = "default";
222 pinctrl-0 = <&pinctrl_usb_vbus &pinctrl_usb_oc>;
225 &pioE 20 GPIO_ACTIVE_HIGH
228 &pioE 15 GPIO_ACTIVE_LOW