Linux Audio

Check our new training course

Loading...
v4.17
  1/*
  2 * usb_a926x.dts - Device Tree file for Caloa USB A926x board
  3 *
  4 *  Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  5 *
  6 * Licensed under GPLv2 or later.
  7 */
  8
  9/ {
 10	clocks {
 
 
 
 
 
 
 
 
 
 11		slow_xtal {
 12			clock-frequency = <32768>;
 13		};
 14
 15		main_xtal {
 16			clock-frequency = <12000000>;
 17		};
 18	};
 19
 20	ahb {
 21		apb {
 22			dbgu: serial@fffff200 {
 23				status = "okay";
 24			};
 25
 26			tcb0: timer@fffa0000 {
 27				timer@0 {
 28					compatible = "atmel,tcb-timer";
 29					reg = <0>, <1>;
 30				};
 31
 32				timer@2 {
 33					compatible = "atmel,tcb-timer";
 34					reg = <2>;
 35				};
 36			};
 37
 38			macb0: ethernet@fffc4000 {
 39				phy-mode = "rmii";
 40				status = "okay";
 41			};
 42
 43			usb1: gadget@fffa4000 {
 44				atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
 45				status = "okay";
 46			};
 47		};
 48
 49		ebi: ebi@10000000 {
 
 
 
 50			status = "okay";
 51
 52			nand_controller: nand-controller {
 53				status = "okay";
 54				pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
 55				pinctrl-names = "default";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 56
 57				nand@3 {
 58					reg = <0x3 0x0 0x800000>;
 59					rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
 60					cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
 61					nand-bus-width = <8>;
 62					nand-ecc-mode = "soft";
 63					nand-on-flash-bbt;
 64					label = "atmel_nand";
 65
 66					partitions {
 67						compatible = "fixed-partitions";
 68						#address-cells = <1>;
 69						#size-cells = <1>;
 70
 71						at91bootstrap@0 {
 72							label = "at91bootstrap";
 73							reg = <0x0 0x20000>;
 74						};
 75
 76						barebox@20000 {
 77							label = "barebox";
 78							reg = <0x20000 0x40000>;
 79						};
 80
 81						bareboxenv@60000 {
 82							label = "bareboxenv";
 83							reg = <0x60000 0x20000>;
 84						};
 85
 86						bareboxenv2@80000 {
 87							label = "bareboxenv2";
 88							reg = <0x80000 0x20000>;
 89						};
 90
 91						oftree@80000 {
 92							label = "oftree";
 93							reg = <0xa0000 0x20000>;
 94						};
 95
 96						kernel@a0000 {
 97							label = "kernel";
 98							reg = <0xc0000 0x400000>;
 99						};
100
101						rootfs@4a0000 {
102							label = "rootfs";
103							reg = <0x4c0000 0x7800000>;
104						};
105
106						data@7ca0000 {
107							label = "data";
108							reg = <0x7cc0000 0x8340000>;
109						};
110					};
111				};
112			};
113		};
114
115		usb0: ohci@500000 {
116			num-ports = <2>;
117			status = "okay";
118		};
119	};
120
121	leds {
122		compatible = "gpio-leds";
123
124		user_led {
125			label = "user_led";
126			gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
127			linux,default-trigger = "heartbeat";
128		};
129	};
130
131	gpio_keys {
132		compatible = "gpio-keys";
133		#address-cells = <1>;
134		#size-cells = <0>;
135
136		user_pb {
137			label = "user_pb";
138			gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
139			linux,code = <28>;
140			wakeup-source;
141		};
142	};
143
144	i2c-gpio-0 {
145		status = "okay";
146	};
147};
v4.6
  1/*
  2 * usb_a926x.dts - Device Tree file for Caloa USB A926x board
  3 *
  4 *  Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  5 *
  6 * Licensed under GPLv2 or later.
  7 */
  8
  9/ {
 10	clocks {
 11		#address-cells = <1>;
 12		#size-cells = <1>;
 13		ranges;
 14
 15		main_clock: clock@0 {
 16			compatible = "atmel,osc", "fixed-clock";
 17			clock-frequency = <12000000>;
 18		};
 19
 20		slow_xtal {
 21			clock-frequency = <32768>;
 22		};
 23
 24		main_xtal {
 25			clock-frequency = <12000000>;
 26		};
 27	};
 28
 29	ahb {
 30		apb {
 31			dbgu: serial@fffff200 {
 32				status = "okay";
 33			};
 34
 
 
 
 
 
 
 
 
 
 
 
 
 35			macb0: ethernet@fffc4000 {
 36				phy-mode = "rmii";
 37				status = "okay";
 38			};
 39
 40			usb1: gadget@fffa4000 {
 41				atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
 42				status = "okay";
 43			};
 44		};
 45
 46		nand0: nand@40000000 {
 47			nand-bus-width = <8>;
 48			nand-ecc-mode = "soft";
 49			nand-on-flash-bbt;
 50			status = "okay";
 51
 52			at91bootstrap@0 {
 53				label = "at91bootstrap";
 54				reg = <0x0 0x20000>;
 55			};
 56
 57			barebox@20000 {
 58				label = "barebox";
 59				reg = <0x20000 0x40000>;
 60			};
 61
 62			bareboxenv@60000 {
 63				label = "bareboxenv";
 64				reg = <0x60000 0x20000>;
 65			};
 66
 67			bareboxenv2@80000 {
 68				label = "bareboxenv2";
 69				reg = <0x80000 0x20000>;
 70			};
 71
 72			oftree@80000 {
 73				label = "oftree";
 74				reg = <0xa0000 0x20000>;
 75			};
 76
 77			kernel@a0000 {
 78				label = "kernel";
 79				reg = <0xc0000 0x400000>;
 80			};
 81
 82			rootfs@4a0000 {
 83				label = "rootfs";
 84				reg = <0x4c0000 0x7800000>;
 85			};
 86
 87			data@7ca0000 {
 88				label = "data";
 89				reg = <0x7cc0000 0x8340000>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 90			};
 91		};
 92
 93		usb0: ohci@00500000 {
 94			num-ports = <2>;
 95			status = "okay";
 96		};
 97	};
 98
 99	leds {
100		compatible = "gpio-leds";
101
102		user_led {
103			label = "user_led";
104			gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
105			linux,default-trigger = "heartbeat";
106		};
107	};
108
109	gpio_keys {
110		compatible = "gpio-keys";
111		#address-cells = <1>;
112		#size-cells = <0>;
113
114		user_pb {
115			label = "user_pb";
116			gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
117			linux,code = <28>;
118			wakeup-source;
119		};
120	};
121
122	i2c@0 {
123		status = "okay";
124	};
125};