1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wb45n.dts - Device Tree file for WB45NBT board
5 * Copyright (C) 2015 Laird
9 #include "at91sam9g25.dtsi"
12 model = "Laird Workgroup Bridge 45N - Atmel AT91SAM (dt)";
13 compatible = "laird,wb45n", "laird,wbxx", "atmel,at91sam9x5", "atmel,at91sam9";
16 bootargs = "console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
20 reg = <0x20000000 0x4000000>;
29 compatible = "atmel,osc", "fixed-clock";
30 clock-frequency = <12000000>;
34 clock-frequency = <32768>;
38 clock-frequency = <12000000>;
46 compatible = "atmel,sama5d3-rstc";
51 pinctrl_nand: nand-0 {
53 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A Read Enable */
54 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A Write Enable */
55 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD2 periph A Address Latch Enable */
56 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A Command Latch Enable */
57 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD4 gpio Chip Enable pin pull_up */
58 AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PD5 gpio RDY/BUSY pin pull_up */
63 pinctrl_board_usb2: usb2-board {
65 <AT91_PIOB 11 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB11 gpio vbus sense, deglitch */
70 dbgu: serial@fffff200 {
74 usart0: serial@f801c000 {
78 usart3: serial@f8028000 {
84 cs-gpios = <&pioA 14 0>, <&pioA 7 0>, <0>, <0>;
89 &pinctrl_mmc0_slot0_clk_cmd_dat0
90 &pinctrl_mmc0_slot0_dat1_3>;
92 /delete-property/dmas;
93 /delete-property/dma-names;
100 macb0: ethernet@f802c000 {
105 usb2: gadget@f803c000 {
106 pinctrl-names = "default";
107 pinctrl-0 = <&pinctrl_board_usb2>;
108 atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
121 atmel,wakeup-mode = "low";
129 usb0: ohci@00600000 {
133 &pioB 12 GPIO_ACTIVE_HIGH
134 &pioA 31 GPIO_ACTIVE_HIGH
136 atmel,oc-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
139 usb1: ehci@00700000 {
143 nand0: nand@40000000 {
144 nand-bus-width = <8>;
145 nand-ecc-mode = "hw";
146 atmel,has-pmecc; /* Enable PMECC */
147 atmel,pmecc-cap = <4>;
148 atmel,pmecc-sector-size = <512>;
159 reg = <0x20000 0x80000>;
163 label = "u-boot-env";
164 reg = <0xa0000 0x20000>;
168 label = "redund-env";
169 reg = <0xc0000 0x20000>;
174 reg = <0xe0000 0x280000>;
179 reg = <0x360000 0x280000>;
184 reg = <0x5e0000 0x2600000>;
189 reg = <0x2be0000 0x2600000>;
194 reg = <0x51e0000 0x2dc0000>;
199 reg = <0x7fa0000 0x60000>;
205 compatible = "atheros,ath6kl";
206 atheros,board-id = "SD32";
210 compatible = "gpio-keys";
211 #address-cells = <1>;
216 gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
217 gpio-key,wakeup = <1>;