1 // SPDX-License-Identifier: GPL-2.0
3 * at91-wb45n.dtsi - Device Tree file for WB45NBT board
5 * Copyright (C) 2018 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 = "ubi.mtd=6 root=ubi0:rootfs rootfstype=ubifs rw";
17 stdout-path = "serial0:115200n8";
21 reg = <0x20000000 0x4000000>;
25 compatible = "atheros,ath6kl";
26 atheros,board-id = "SD32";
31 compatible = "atmel,sama5d3-rstc";
34 &shutdown_controller {
35 atmel,wakeup-mode = "low";
39 clock-frequency = <32768>;
43 clock-frequency = <12000000>;
48 nand_controller: nand-controller {
49 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb &pinctrl_nand_oe_we>;
50 pinctrl-names = "default";
54 reg = <0x3 0x0 0x800000>;
55 rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
56 cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>;
59 nand-ecc-strength = <4>;
60 nand-ecc-step-size = <512>;
65 compatible = "fixed-partitions";
76 reg = <0x20000 0x80000>;
81 reg = <0xa0000 0x20000>;
86 reg = <0xc0000 0x20000>;
91 reg = <0xe0000 0x280000>;
96 reg = <0x360000 0x280000>;
101 reg = <0x5e0000 0x2600000>;
106 reg = <0x2be0000 0x2600000>;
111 reg = <0x51e0000 0x2dc0000>;
116 reg = <0x7fa0000 0x60000>;
127 &pioB 12 GPIO_ACTIVE_HIGH
128 &pioA 31 GPIO_ACTIVE_HIGH
130 atmel,oc-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
138 cs-gpios = <&pioA 14 0>, <&pioA 7 0>, <0>, <0>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&pinctrl_board_usb2>;
144 atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
148 pinctrl-names = "default";
150 &pinctrl_mmc0_slot0_clk_cmd_dat0
151 &pinctrl_mmc0_slot0_dat1_3>;
160 pinctrl_board_usb2: usb2-board {
162 <AT91_PIOB 11 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB11 gpio vbus sense, deglitch */