Linux Audio

Check our new training course

Loading...
v6.2
 1// SPDX-License-Identifier: GPL-2.0-only
 2/*
 3 * Author: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
 
 
 
 
 4 */
 5/dts-v1/;
 6
 7#include "omap3-devkit8000-common.dtsi"
 8/ {
 9	model = "TimLL OMAP3 Devkit8000";
10	compatible = "timll,omap3-devkit8000", "ti,omap3430", "ti,omap3";
11
12	aliases {
13		display1 = &dvi0;
14		display2 = &tv0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15	};
16};
v3.15
 
  1/*
  2 * Author: Anil Kumar <anilk4.v@gmail.com>
  3 *
  4 * This program is free software; you can redistribute it and/or modify
  5 * it under the terms of the GNU General Public License version 2 as
  6 * published by the Free Software Foundation.
  7 */
  8/dts-v1/;
  9
 10#include "omap34xx.dtsi"
 11/ {
 12	model = "TimLL OMAP3 Devkit8000";
 13	compatible = "timll,omap3-devkit8000", "ti,omap3";
 14
 15	memory {
 16		device_type = "memory";
 17		reg = <0x80000000 0x10000000>;	/* 256 MB */
 18	};
 19
 20	leds {
 21		compatible = "gpio-leds";
 22
 23		heartbeat {
 24			label = "devkit8000::led1";
 25			gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>;	/* 186 -> LED1 */
 26			default-state = "on";
 27			linux,default-trigger = "heartbeat";
 28		};
 29
 30		mmc {
 31			label = "devkit8000::led2";
 32			gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;	/* 163 -> LED2 */
 33			default-state = "on";
 34			linux,default-trigger = "none";
 35		};
 36
 37		usr {
 38			label = "devkit8000::led3";
 39			gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;	/* 164 -> LED3 */
 40			default-state = "on";
 41			linux,default-trigger = "usr";
 42                };
 43
 44	};
 45
 46	sound {
 47		compatible = "ti,omap-twl4030";
 48		ti,model = "devkit8000";
 49
 50		ti,mcbsp = <&mcbsp2>;
 51		ti,codec = <&twl_audio>;
 52		ti,audio-routing =
 53			"Ext Spk", "PREDRIVEL",
 54			"Ext Spk", "PREDRIVER",
 55			"MAINMIC", "Main Mic",
 56			"Main Mic", "Mic Bias 1";
 57	};
 58};
 59
 60&i2c1 {
 61	clock-frequency = <2600000>;
 62
 63	twl: twl@48 {
 64		reg = <0x48>;
 65		interrupts = <7>;	/* SYS_NIRQ cascaded to intc */
 66
 67		twl_audio: audio {
 68			compatible = "ti,twl4030-audio";
 69			codec {
 70			};
 71		};
 72	};
 73};
 74
 75&i2c2 {
 76	status = "disabled";
 77};
 78
 79&i2c3 {
 80	status = "disabled";
 81};
 82
 83#include "twl4030.dtsi"
 84#include "twl4030_omap3.dtsi"
 85
 86&mmc1 {
 87	vmmc-supply = <&vmmc1>;
 88	vmmc_aux-supply = <&vsim>;
 89	bus-width = <8>;
 90};
 91
 92&mmc2 {
 93	status = "disabled";
 94};
 95
 96&mmc3 {
 97	status = "disabled";
 98};
 99
100&wdt2 {
101	status = "disabled";
102};
103
104&mcbsp2 {
105	status = "okay";
106};
107
108&gpmc {
109	ranges = <0 0 0x30000000 0x04>;       /* CS0: NAND */
110
111	nand@0,0 {
112		reg = <0 0 0>; /* CS0, offset 0 */
113		nand-bus-width = <16>;
114
115		gpmc,sync-clk-ps = <0>;
116		gpmc,cs-on-ns = <0>;
117		gpmc,cs-rd-off-ns = <44>;
118		gpmc,cs-wr-off-ns = <44>;
119		gpmc,adv-on-ns = <6>;
120		gpmc,adv-rd-off-ns = <34>;
121		gpmc,adv-wr-off-ns = <44>;
122		gpmc,we-off-ns = <40>;
123		gpmc,oe-off-ns = <54>;
124		gpmc,access-ns = <64>;
125		gpmc,rd-cycle-ns = <82>;
126		gpmc,wr-cycle-ns = <82>;
127		gpmc,wr-access-ns = <40>;
128		gpmc,wr-data-mux-bus-ns = <0>;
129
130		#address-cells = <1>;
131		#size-cells = <1>;
132
133		x-loader@0 {
134			label = "X-Loader";
135			reg = <0 0x80000>;
136		};
137
138		bootloaders@80000 {
139			label = "U-Boot";
140			reg = <0x80000 0x1e0000>;
141		};
142
143		bootloaders_env@260000 {
144			label = "U-Boot Env";
145			reg = <0x260000 0x20000>;
146		};
147
148		kernel@280000 {
149			label = "Kernel";
150			reg = <0x280000 0x400000>;
151		};
152
153		filesystem@680000 {
154			label = "File System";
155			reg = <0x680000 0xf980000>;
156		};
157	};
158};