Linux Audio

Check our new training course

Loading...
Note: File does not exist in v6.13.7.
  1// SPDX-License-Identifier: GPL-2.0-or-later
  2/*
  3 * at91-sam9_l9260.dts - Device Tree file for Olimex SAM9-L9260 board
  4 *
  5 *  Copyright (C) 2016 Raashid Muhammed <raashidmuhammed@zilogic.com>
  6 */
  7/dts-v1/;
  8#include "at91sam9260.dtsi"
  9
 10/ {
 11	model = "Olimex sam9-l9260";
 12	compatible = "olimex,sam9-l9260", "atmel,at91sam9260", "atmel,at91sam9";
 13
 14	chosen {
 15		stdout-path = "serial0:115200n8";
 16	};
 17
 18	memory {
 19		reg = <0x20000000 0x4000000>;
 20	};
 21
 22	clocks {
 23		slow_xtal {
 24			clock-frequency = <32768>;
 25		};
 26
 27		main_xtal {
 28			clock-frequency = <18432000>;
 29		};
 30	};
 31
 32	ahb {
 33		apb {
 34			tcb0: timer@fffa0000 {
 35				timer@0 {
 36					compatible = "atmel,tcb-timer";
 37					reg = <0>, <1>;
 38				};
 39
 40				timer@2 {
 41					compatible = "atmel,tcb-timer";
 42					reg = <2>;
 43				};
 44			};
 45
 46			mmc0: mmc@fffa8000 {
 47				pinctrl-0 = <
 48					&pinctrl_board_mmc0
 49					&pinctrl_mmc0_clk
 50					&pinctrl_mmc0_slot1_cmd_dat0
 51					&pinctrl_mmc0_slot1_dat1_3>;
 52				status = "okay";
 53
 54				slot@1 {
 55					reg = <1>;
 56					bus-width = <4>;
 57					cd-gpios = <&pioC 8 GPIO_ACTIVE_HIGH>;
 58					wp-gpios = <&pioC 4 GPIO_ACTIVE_HIGH>;
 59				};
 60			};
 61
 62			macb0: ethernet@fffc4000 {
 63				pinctrl-0 = <&pinctrl_macb_rmii &pinctrl_macb_rmii_mii_alt>;
 64				phy-mode = "mii";
 65				#address-cells = <1>;
 66				#size-cells = <0>;
 67				status = "okay";
 68
 69				ethernet-phy@1 {
 70					reg = <0x1>;
 71				};
 72			};
 73
 74			spi0: spi@fffc8000 {
 75				cs-gpios = <&pioC 11 0>, <0>, <0>, <0>;
 76				status = "okay";
 77
 78				flash@0 {
 79					compatible = "atmel,at45", "atmel,dataflash";
 80					spi-max-frequency = <15000000>;
 81					reg = <0>;
 82				};
 83			};
 84
 85			dbgu: serial@fffff200 {
 86				status = "okay";
 87			};
 88
 89			pinctrl@fffff400 {
 90				mmc0 {
 91					pinctrl_board_mmc0: mmc0-board {
 92						atmel,pins =
 93							<AT91_PIOC 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH	/* CD pin */
 94							 AT91_PIOC 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;	/* WP pin */
 95					};
 96				};
 97			};
 98		};
 99
100		nand0: nand@40000000 {
101			nand-bus-width = <8>;
102			nand-ecc-mode = "soft";
103			nand-on-flash-bbt = <1>;
104			status = "okay";
105		};
106
107		usb0: ohci@500000 {
108			status = "okay";
109		};
110
111	};
112
113	i2c-gpio-0 {
114		status = "okay";
115	};
116
117	leds {
118		compatible = "gpio-leds";
119
120		pwr_led {
121			label = "sam9-l9260:yellow:pwr";
122			gpios = <&pioA 9 GPIO_ACTIVE_HIGH>;
123			linux,default-trigger = "cpu0";
124		};
125
126		status_led {
127			label = "sam9-l9260:green:status";
128			gpios = <&pioA 6 GPIO_ACTIVE_LOW>;
129			linux,default-trigger = "timer";
130		};
131	};
132};