Linux Audio

Check our new training course

Loading...
v4.17
  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 TNY A9263";
 13	compatible = "atmel,tny-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		slow_xtal {
 25			clock-frequency = <32768>;
 26		};
 27
 28		main_xtal {
 29			clock-frequency = <12000000>;
 30		};
 31	};
 32
 33	ahb {
 34		apb {
 35			dbgu: serial@ffffee00 {
 36				status = "okay";
 37			};
 38
 39			tcb0: timer@fff7c000 {
 40				timer@0 {
 41					compatible = "atmel,tcb-timer";
 42					reg = <0>, <1>;
 43				};
 44
 45				timer@2 {
 46					compatible = "atmel,tcb-timer";
 47					reg = <2>;
 48				};
 49			};
 50
 51			usb1: gadget@fff78000 {
 52				atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
 53				status = "okay";
 54			};
 55		};
 56
 57		ebi0: ebi@10000000 {
 
 
 
 58			status = "okay";
 59
 60			nand_controller: nand-controller {
 61				status = "okay";
 62				pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
 63				pinctrl-names = "default";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 64
 65				nand@3 {
 66					reg = <0x3 0x0 0x800000>;
 67					rb-gpios = <&pioA 22 GPIO_ACTIVE_HIGH>;
 68					cs-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
 69					nand-bus-width = <8>;
 70					nand-ecc-mode = "soft";
 71					nand-on-flash-bbt;
 72					label = "atmel_nand";
 73
 74					partitions {
 75						compatible = "fixed-partitions";
 76						#address-cells = <1>;
 77						#size-cells = <1>;
 78
 79						at91bootstrap@0 {
 80							label = "at91bootstrap";
 81							reg = <0x0 0x20000>;
 82						};
 83
 84						barebox@20000 {
 85							label = "barebox";
 86							reg = <0x20000 0x40000>;
 87						};
 88
 89						bareboxenv@60000 {
 90							label = "bareboxenv";
 91							reg = <0x60000 0x20000>;
 92						};
 93
 94						bareboxenv2@80000 {
 95							label = "bareboxenv2";
 96							reg = <0x80000 0x20000>;
 97						};
 98
 99						oftree@80000 {
100							label = "oftree";
101							reg = <0xa0000 0x20000>;
102						};
103
104						kernel@a0000 {
105							label = "kernel";
106							reg = <0xc0000 0x400000>;
107						};
108
109						rootfs@4a0000 {
110							label = "rootfs";
111							reg = <0x4c0000 0x7800000>;
112						};
113
114						data@7ca0000 {
115							label = "data";
116							reg = <0x7cc0000 0x8340000>;
117						};
118					};
119				};
120			};
121		};
122	};
123
124	i2c-gpio-0 {
125		status = "okay";
126	};
127};
v4.6
  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 TNY A9263";
 13	compatible = "atmel,tny-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			usb1: gadget@fff78000 {
 49				atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
 50				status = "okay";
 51			};
 52		};
 53
 54		nand0: nand@40000000 {
 55			nand-bus-width = <8>;
 56			nand-ecc-mode = "soft";
 57			nand-on-flash-bbt;
 58			status = "okay";
 59
 60			at91bootstrap@0 {
 61				label = "at91bootstrap";
 62				reg = <0x0 0x20000>;
 63			};
 64
 65			barebox@20000 {
 66				label = "barebox";
 67				reg = <0x20000 0x40000>;
 68			};
 69
 70			bareboxenv@60000 {
 71				label = "bareboxenv";
 72				reg = <0x60000 0x20000>;
 73			};
 74
 75			bareboxenv2@80000 {
 76				label = "bareboxenv2";
 77				reg = <0x80000 0x20000>;
 78			};
 79
 80			oftree@80000 {
 81				label = "oftree";
 82				reg = <0xa0000 0x20000>;
 83			};
 84
 85			kernel@a0000 {
 86				label = "kernel";
 87				reg = <0xc0000 0x400000>;
 88			};
 89
 90			rootfs@4a0000 {
 91				label = "rootfs";
 92				reg = <0x4c0000 0x7800000>;
 93			};
 94
 95			data@7ca0000 {
 96				label = "data";
 97				reg = <0x7cc0000 0x8340000>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 98			};
 99		};
100	};
101
102	i2c@0 {
103		status = "okay";
104	};
105};