Linux Audio

Check our new training course

Loading...
Note: File does not exist in v6.13.7.
  1/*
  2 * usb_a9263.dts - Device Tree file for Caloa USB A9293 board
  3 *
  4 *  Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  5 *
  6 * Licensed under GPLv2 only
  7 */
  8/dts-v1/;
  9#include "at91sam9263.dtsi"
 10
 11/ {
 12	model = "Calao USB A9263";
 13	compatible = "atmel,usb-a9263", "atmel,at91sam9263", "atmel,at91sam9";
 14
 15	chosen {
 16		bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
 17	};
 18
 19	memory {
 20		reg = <0x20000000 0x4000000>;
 21	};
 22
 23	clocks {
 24		#address-cells = <1>;
 25		#size-cells = <1>;
 26		ranges;
 27
 28		main_clock: clock@0 {
 29			compatible = "atmel,osc", "fixed-clock";
 30			clock-frequency = <12000000>;
 31		};
 32
 33		slow_xtal {
 34			clock-frequency = <32768>;
 35		};
 36
 37		main_xtal {
 38			clock-frequency = <12000000>;
 39		};
 40	};
 41
 42	ahb {
 43		apb {
 44			dbgu: serial@ffffee00 {
 45				status = "okay";
 46			};
 47
 48			macb0: ethernet@fffbc000 {
 49				phy-mode = "rmii";
 50				status = "okay";
 51			};
 52
 53			usb1: gadget@fff78000 {
 54				atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
 55				status = "okay";
 56			};
 57
 58			spi0: spi@fffa4000 {
 59				cs-gpios = <&pioB 15 GPIO_ACTIVE_HIGH>;
 60				status = "okay";
 61				mtd_dataflash@0 {
 62					compatible = "atmel,at45", "atmel,dataflash";
 63					reg = <0>;
 64					spi-max-frequency = <15000000>;
 65				};
 66			};
 67
 68			shdwc@fffffd10 {
 69				atmel,wakeup-counter = <10>;
 70				atmel,wakeup-rtt-timer;
 71			};
 72		};
 73
 74		nand0: nand@40000000 {
 75			nand-bus-width = <8>;
 76			nand-ecc-mode = "soft";
 77			nand-on-flash-bbt;
 78			status = "okay";
 79
 80			at91bootstrap@0 {
 81				label = "at91bootstrap";
 82				reg = <0x0 0x20000>;
 83			};
 84
 85			barebox@20000 {
 86				label = "barebox";
 87				reg = <0x20000 0x40000>;
 88			};
 89
 90			bareboxenv@60000 {
 91				label = "bareboxenv";
 92				reg = <0x60000 0x20000>;
 93			};
 94
 95			bareboxenv2@80000 {
 96				label = "bareboxenv2";
 97				reg = <0x80000 0x20000>;
 98			};
 99
100			oftree@80000 {
101				label = "oftree";
102				reg = <0xa0000 0x20000>;
103			};
104
105			kernel@a0000 {
106				label = "kernel";
107				reg = <0xc0000 0x400000>;
108			};
109
110			rootfs@4a0000 {
111				label = "rootfs";
112				reg = <0x4c0000 0x7800000>;
113			};
114
115			data@7ca0000 {
116				label = "data";
117				reg = <0x7cc0000 0x8340000>;
118			};
119		};
120
121		usb0: ohci@00a00000 {
122			num-ports = <2>;
123			status = "okay";
124		};
125	};
126
127	leds {
128		compatible = "gpio-leds";
129
130		user_led {
131			label = "user_led";
132			gpios = <&pioB 21 GPIO_ACTIVE_HIGH>;
133			linux,default-trigger = "heartbeat";
134		};
135	};
136
137	gpio_keys {
138		compatible = "gpio-keys";
139		#address-cells = <1>;
140		#size-cells = <0>;
141
142		user_pb {
143			label = "user_pb";
144			gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
145			linux,code = <28>;
146			wakeup-source;
147		};
148	};
149
150	i2c@0 {
151		status = "okay";
152	};
153};