1 // SPDX-License-Identifier: GPL-2.0
3 * at91-wb50n.dtsi - Device Tree include file for wb50n cpu module
5 * Copyright (C) 2018 Laird
9 #include "sama5d31.dtsi"
12 model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
13 compatible = "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
16 bootargs = "ubi.mtd=6 root=ubi0:rootfs rootfstype=ubifs rw";
17 stdout-path = "serial0:115200n8";
21 reg = <0x20000000 0x4000000>;
27 pinctrl_mmc0_cd: mmc0_cd {
28 atmel,pins = <AT91_PIOC 26 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PC26 GPIO with pullup deglitch */
31 pinctrl_usba_vbus: usba_vbus {
32 atmel,pins = <AT91_PIOB 13 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB13 GPIO with deglitch */
38 clock-frequency = <32768>;
42 clock-frequency = <12000000>;
50 atmel,clk-output-range = <0 132000000>;
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>;
56 cd-gpios = <&pioC 26 GPIO_ACTIVE_LOW>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
68 compatible = "atheros,ath6kl";
69 atheros,board-id = "SD32";
80 dmas = <0>, <0>; /* Do not use DMA for dbgu */
83 /* On BB40 this port is labeled UART1 */
87 pinctrl-names = "default";
88 pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts_cts>;
91 /* On BB40 this port is labeled UART0 */
95 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
97 dtr-gpios = <&pioD 13 GPIO_ACTIVE_LOW>;
98 dsr-gpios = <&pioD 11 GPIO_ACTIVE_LOW>;
99 dcd-gpios = <&pioD 7 GPIO_ACTIVE_LOW>;
100 rng-gpios = <&pioD 8 GPIO_ACTIVE_LOW>;
103 /* USART3 is direct-connect to the Bluetooth UART on the radio SIP */
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_usart3 &pinctrl_usart3_rts_cts>;
113 cs-gpios = <&pioC 25 0>, <0>, <0>, <0>;
117 pinctrl-0 = <&pinctrl_ebi_nand_addr>;
118 pinctrl-names = "default";
128 nand-bus-width = <8>;
129 nand-ecc-mode = "hw";
130 nand-ecc-strength = <8>;
131 nand-ecc-step-size = <512>;
133 label = "atmel_nand";
136 compatible = "fixed-partitions";
137 #address-cells = <1>;
147 reg = <0x20000 0x80000>;
151 label = "u-boot-env";
152 reg = <0xa0000 0x20000>;
156 label = "u-boot-env";
157 reg = <0xc0000 0x20000>;
162 reg = <0xe0000 0x500000>;
167 reg = <0x5e0000 0x500000>;
172 reg = <0xae0000 0x3000000>;
177 reg = <0x3ae0000 0x3000000>;
182 reg = <0x6ae0000 0x14e0000>;
189 atmel,vbus-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&pinctrl_usba_vbus>;
196 atmel,vbus-gpio = <&pioA 2 GPIO_ACTIVE_LOW>;
197 atmel,oc-gpio = <&pioA 4 GPIO_ACTIVE_LOW>;