1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-sam9_l9260.dts - Device Tree file for Olimex SAM9-L9260 board
5 * Copyright (C) 2016 Raashid Muhammed <raashidmuhammed@zilogic.com>
8 #include "at91sam9260.dtsi"
11 model = "Olimex sam9-l9260";
12 compatible = "olimex,sam9-l9260", "atmel,at91sam9260", "atmel,at91sam9";
15 stdout-path = "serial0:115200n8";
19 reg = <0x20000000 0x4000000>;
24 clock-frequency = <32768>;
28 clock-frequency = <18432000>;
34 tcb0: timer@fffa0000 {
36 compatible = "atmel,tcb-timer";
41 compatible = "atmel,tcb-timer";
50 &pinctrl_mmc0_slot1_cmd_dat0
51 &pinctrl_mmc0_slot1_dat1_3>;
52 pinctrl-names = "default";
58 cd-gpios = <&pioC 8 GPIO_ACTIVE_HIGH>;
59 wp-gpios = <&pioC 4 GPIO_ACTIVE_HIGH>;
63 macb0: ethernet@fffc4000 {
64 pinctrl-0 = <&pinctrl_macb_rmii &pinctrl_macb_rmii_mii_alt>;
76 cs-gpios = <&pioC 11 0>, <0>, <0>, <0>;
80 compatible = "atmel,at45", "atmel,dataflash";
81 spi-max-frequency = <15000000>;
86 dbgu: serial@fffff200 {
92 pinctrl_board_mmc0: mmc0-board {
94 <AT91_PIOC 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* CD pin */
95 AT91_PIOC 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* WP pin */
101 nand0: nand@40000000 {
102 nand-bus-width = <8>;
103 nand-ecc-mode = "soft";
104 nand-on-flash-bbt = <1>;
119 compatible = "gpio-leds";
122 label = "sam9-l9260:yellow:pwr";
123 gpios = <&pioA 9 GPIO_ACTIVE_HIGH>;
124 linux,default-trigger = "cpu0";
128 label = "sam9-l9260:green:status";
129 gpios = <&pioA 6 GPIO_ACTIVE_LOW>;
130 linux,default-trigger = "timer";