1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wb50n.dts - Device Tree file for wb50n board
5 * Copyright (C) 2015 Laird
8 #include "sama5d31.dtsi"
11 model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
12 compatible = "laird,wb50n", "atmel,sama5d31ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
15 bootargs = "console=ttyS0,115200 earlyprintk loglevel=4 mem=64M";
19 reg = <0x20000000 0x4000000>;
24 clock-frequency = <32768>;
28 clock-frequency = <12000000>;
37 clock-frequency = <12000000>;
41 usart1_clk: usart1_clk {
44 atmel,clk-output-range = <0 132000000>;
51 pinctrl_mmc0_cd: mmc0_cd {
53 <AT91_PIOC 26 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PC26 GPIO with pullup deglitch */
56 pinctrl_usba_vbus: usba_vbus {
58 <AT91_PIOB 13 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB13 GPIO with deglitch */
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>;
66 cd-gpios = <&pioC 26 GPIO_ACTIVE_LOW>;
74 pinctrl-names = "default";
75 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
83 macb1: ethernet@f802c000 {
88 dbgu: serial@ffffee00 {
89 dmas = <0>, <0>; /* Do not use DMA for dbgu */
92 /* On BB40 this port is labeled UART1 */
93 usart0: serial@f001c000 {
96 pinctrl-names = "default";
97 pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts_cts>;
100 /* On BB40 this port is labeled UART0 */
101 usart1: serial@f0020000 {
104 pinctrl-names = "default";
105 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
106 dtr-gpios = <&pioD 13 GPIO_ACTIVE_LOW>;
107 dsr-gpios = <&pioD 11 GPIO_ACTIVE_LOW>;
108 dcd-gpios = <&pioD 7 GPIO_ACTIVE_LOW>;
109 rng-gpios = <&pioD 8 GPIO_ACTIVE_LOW>;
112 /* USART3 is direct-connect to the Bluetooth UART on the radio SIP */
113 usart3: serial@f8024000 {
116 pinctrl-names = "default";
117 pinctrl-0 = <&pinctrl_usart3 &pinctrl_usart3_rts_cts>;
122 cs-gpios = <&pioC 25 0>, <0>, <0>, <0>;
132 nand0: nand@60000000 {
133 nand-bus-width = <8>;
134 nand-ecc-mode = "hw";
136 atmel,pmecc-cap = <8>;
137 atmel,pmecc-sector-size = <512>;
148 reg = <0x20000 0x80000>;
152 label = "u-boot-env";
153 reg = <0xa0000 0x20000>;
157 label = "u-boot-env";
158 reg = <0xc0000 0x20000>;
163 reg = <0xe0000 0x500000>;
168 reg = <0x5e0000 0x500000>;
173 reg = <0xae0000 0x3000000>;
178 reg = <0x3ae0000 0x3000000>;
183 reg = <0x6ae0000 0x14e0000>;
188 usb0: gadget@00500000 {
189 atmel,vbus-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&pinctrl_usba_vbus>;
194 usb1: ohci@00600000 {
196 atmel,vbus-gpio = <&pioA 2 GPIO_ACTIVE_LOW>;
197 atmel,oc-gpio = <&pioA 4 GPIO_ACTIVE_LOW>;
202 compatible = "atheros,ath6kl";
203 atheros,board-id = "SD32";