Linux Audio

Check our new training course

Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0-only
  2/*
  3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
  4 */
  5/dts-v1/;
  6
  7#include "omap5-board-common.dtsi"
  8
  9/ {
 10	model = "TI OMAP5 uEVM board";
 11	compatible = "ti,omap5-uevm", "ti,omap5";
 12
 13	memory@80000000 {
 14		device_type = "memory";
 15		reg = <0 0x80000000 0 0x7f000000>; /* 2032 MB */
 16	};
 17
 18	reserved-memory {
 19		#address-cells = <2>;
 20		#size-cells = <2>;
 21		ranges;
 22
 23		dsp_memory_region: dsp-memory@95000000 {
 24			compatible = "shared-dma-pool";
 25			reg = <0 0x95000000 0 0x800000>;
 26			reusable;
 27			status = "okay";
 28		};
 29
 30		ipu_memory_region: ipu-memory@95800000 {
 31			compatible = "shared-dma-pool";
 32			reg = <0 0x95800000 0 0x3800000>;
 33			reusable;
 34			status = "okay";
 35		};
 36	};
 37
 38	aliases {
 39		ethernet = &ethernet;
 40	};
 41
 42	leds {
 43		compatible = "gpio-leds";
 44		led1 {
 45			label = "omap5:blue:usr1";
 46			gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
 47			linux,default-trigger = "heartbeat";
 48			default-state = "off";
 49		};
 50	};
 51
 52	evm_keys {
 53		compatible = "gpio-keys";
 54
 55		pinctrl-names = "default";
 56		pinctrl-0 = <&evm_keys_pins>;
 57
 58		#address-cells = <7>;
 59		#size-cells = <0>;
 60
 61		btn1 {
 62			label = "BTN1";
 63			linux,code = <169>;
 64			gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;	/* gpio3_83 */
 65			wakeup-source;
 66			autorepeat;
 67			debounce-interval = <50>;
 68		};
 69	};
 70
 71	evm_leds {
 72		compatible = "gpio-leds";
 73
 74		led1 {
 75			label = "omap5:red:led";
 76			gpios = <&gpio9 17 GPIO_ACTIVE_HIGH>;
 77			linux,default-trigger = "mmc0";
 78			default-state = "off";
 79		};
 80
 81		led2 {
 82			label = "omap5:green:led";
 83			gpios = <&gpio9 18 GPIO_ACTIVE_HIGH>;
 84			linux,default-trigger = "mmc1";
 85			default-state = "off";
 86		};
 87
 88		led3 {
 89			label = "omap5:blue:led";
 90			gpios = <&gpio9 19 GPIO_ACTIVE_HIGH>;
 91			linux,default-trigger = "mmc2";
 92			default-state = "off";
 93		};
 94
 95		led4 {
 96			label = "omap5:green:led1";
 97			gpios = <&gpio9 2 GPIO_ACTIVE_HIGH>;
 98			linux,default-trigger = "heartbeat";
 99			default-state = "off";
100		};
101
102		led5 {
103			label = "omap5:green:led2";
104			gpios = <&gpio9 3 GPIO_ACTIVE_HIGH>;
105			linux,default-trigger = "default-on";
106			default-state = "off";
107		};
108
109		led6 {
110			label = "omap5:green:led3";
111			gpios = <&gpio9 4 GPIO_ACTIVE_HIGH>;
112			linux,default-trigger = "heartbeat";
113			default-state = "off";
114		};
115
116		led7 {
117			label = "omap5:green:led4";
118			gpios = <&gpio9 5 GPIO_ACTIVE_HIGH>;
119			linux,default-trigger = "default-on";
120			default-state = "off";
121		};
122
123		led8 {
124			label = "omap5:green:led5";
125			gpios = <&gpio9 6 GPIO_ACTIVE_HIGH>;
126			linux,default-trigger = "heartbeat";
127			default-state = "off";
128		};
129	};
130};
131
132&hdmi {
133	vdda-supply = <&ldo4_reg>;
134};
135
136&i2c1 {
137	eeprom@50 {
138		compatible = "atmel,24c02";
139		reg = <0x50>;
140	};
141};
142
143&i2c5 {
144	pinctrl-names = "default";
145	pinctrl-0 = <&i2c5_pins>;
146
147	clock-frequency = <400000>;
148
149	gpio9: gpio@22 {
150		compatible = "ti,tca6424";
151		reg = <0x22>;
152		gpio-controller;
153		#gpio-cells = <2>;
154	};
155};
156
157&mmc1 {
158	pinctrl-names = "default";
159	pinctrl-0 = <&mmc1_pins>;
160
161	cd-gpios = <&gpio5 24 GPIO_ACTIVE_LOW>;	/* gpio5_152 */
162};
163
164&omap5_pmx_core {
165	evm_keys_pins: pinmux_evm_keys_gpio_pins {
166		pinctrl-single,pins = <
167			OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6)	/* gpio3_83 */
168		>;
169	};
170
171	i2c5_pins: pinmux_i2c5_pins {
172		pinctrl-single,pins = <
173			OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0)		/* i2c5_scl */
174			OMAP5_IOPAD(0x1c8, PIN_INPUT | MUX_MODE0)		/* i2c5_sda */
175		>;
176	};
177
178	mmc1_pins: pinmux_mmc1_pins {
179		pinctrl-single,pins = <
180			OMAP5_IOPAD(0x1d4, PIN_INPUT_PULLUP | MUX_MODE6)	/* gpio5_152 */
181		>;
182	};
183};
184
185&tpd12s015 {
186	gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>,	/* TCA6424A P01, CT CP HPD */
187		<&gpio9 1 GPIO_ACTIVE_HIGH>,	/* TCA6424A P00, LS OE */
188		<&gpio7 1 GPIO_ACTIVE_HIGH>;	/* GPIO 193, HPD */
189};
190
191&twl6040 {
192	ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>;  /* gpio line 141 */
193};
194
195&twl6040_pins {
196	pinctrl-single,pins = <
197		OMAP5_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE6)	/* mcspi1_somi.gpio5_141 */
198	>;
199};
200
201&usbhsehci {
202	#address-cells = <1>;
203	#size-cells = <0>;
204
205	hub@2 {
206		compatible = "usb424,3503";
207		reg = <2>;
208		#address-cells = <1>;
209		#size-cells = <0>;
210	};
211
212	ethernet: ethernet@3 {
213		compatible = "usb424,9730";
214		reg = <3>;
215	};
216};
217
218&wlcore {
219	compatible = "ti,wl1837";
220};
221
222&dsp {
223	status = "okay";
224	memory-region = <&dsp_memory_region>;
225	ti,timers = <&timer5>;
226	ti,watchdog-timers = <&timer6>;
227};
228
229&ipu {
230	status = "okay";
231	memory-region = <&ipu_memory_region>;
232	ti,timers = <&timer3>;
233	ti,watchdog-timers = <&timer9>, <&timer11>;
234};
v5.4
  1// SPDX-License-Identifier: GPL-2.0-only
  2/*
  3 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
  4 */
  5/dts-v1/;
  6
  7#include "omap5-board-common.dtsi"
  8
  9/ {
 10	model = "TI OMAP5 uEVM board";
 11	compatible = "ti,omap5-uevm", "ti,omap5";
 12
 13	memory@80000000 {
 14		device_type = "memory";
 15		reg = <0 0x80000000 0 0x7f000000>; /* 2032 MB */
 16	};
 17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 18	aliases {
 19		ethernet = &ethernet;
 20	};
 21
 22	leds {
 23		compatible = "gpio-leds";
 24		led1 {
 25			label = "omap5:blue:usr1";
 26			gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
 27			linux,default-trigger = "heartbeat";
 28			default-state = "off";
 29		};
 30	};
 31
 32	evm_keys {
 33		compatible = "gpio-keys";
 34
 35		pinctrl-names = "default";
 36		pinctrl-0 = <&evm_keys_pins>;
 37
 38		#address-cells = <7>;
 39		#size-cells = <0>;
 40
 41		btn1 {
 42			label = "BTN1";
 43			linux,code = <169>;
 44			gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;	/* gpio3_83 */
 45			wakeup-source;
 46			autorepeat;
 47			debounce-interval = <50>;
 48		};
 49	};
 50
 51	evm_leds {
 52		compatible = "gpio-leds";
 53
 54		led1 {
 55			label = "omap5:red:led";
 56			gpios = <&gpio9 17 GPIO_ACTIVE_HIGH>;
 57			linux,default-trigger = "mmc0";
 58			default-state = "off";
 59		};
 60
 61		led2 {
 62			label = "omap5:green:led";
 63			gpios = <&gpio9 18 GPIO_ACTIVE_HIGH>;
 64			linux,default-trigger = "mmc1";
 65			default-state = "off";
 66		};
 67
 68		led3 {
 69			label = "omap5:blue:led";
 70			gpios = <&gpio9 19 GPIO_ACTIVE_HIGH>;
 71			linux,default-trigger = "mmc2";
 72			default-state = "off";
 73		};
 74
 75		led4 {
 76			label = "omap5:green:led1";
 77			gpios = <&gpio9 2 GPIO_ACTIVE_HIGH>;
 78			linux,default-trigger = "heartbeat";
 79			default-state = "off";
 80		};
 81
 82		led5 {
 83			label = "omap5:green:led2";
 84			gpios = <&gpio9 3 GPIO_ACTIVE_HIGH>;
 85			linux,default-trigger = "default-on";
 86			default-state = "off";
 87		};
 88
 89		led6 {
 90			label = "omap5:green:led3";
 91			gpios = <&gpio9 4 GPIO_ACTIVE_HIGH>;
 92			linux,default-trigger = "heartbeat";
 93			default-state = "off";
 94		};
 95
 96		led7 {
 97			label = "omap5:green:led4";
 98			gpios = <&gpio9 5 GPIO_ACTIVE_HIGH>;
 99			linux,default-trigger = "default-on";
100			default-state = "off";
101		};
102
103		led8 {
104			label = "omap5:green:led5";
105			gpios = <&gpio9 6 GPIO_ACTIVE_HIGH>;
106			linux,default-trigger = "heartbeat";
107			default-state = "off";
108		};
109	};
110};
111
112&hdmi {
113	vdda-supply = <&ldo4_reg>;
114};
115
116&i2c1 {
117	eeprom@50 {
118		compatible = "atmel,24c02";
119		reg = <0x50>;
120	};
121};
122
123&i2c5 {
124	pinctrl-names = "default";
125	pinctrl-0 = <&i2c5_pins>;
126
127	clock-frequency = <400000>;
128
129	gpio9: gpio@22 {
130		compatible = "ti,tca6424";
131		reg = <0x22>;
132		gpio-controller;
133		#gpio-cells = <2>;
134	};
135};
136
137&mmc1 {
138	pinctrl-names = "default";
139	pinctrl-0 = <&mmc1_pins>;
140
141	cd-gpios = <&gpio5 24 GPIO_ACTIVE_LOW>;	/* gpio5_152 */
142};
143
144&omap5_pmx_core {
145	evm_keys_pins: pinmux_evm_keys_gpio_pins {
146		pinctrl-single,pins = <
147			OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6)	/* gpio3_83 */
148		>;
149	};
150
151	i2c5_pins: pinmux_i2c5_pins {
152		pinctrl-single,pins = <
153			OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0)		/* i2c5_scl */
154			OMAP5_IOPAD(0x1c8, PIN_INPUT | MUX_MODE0)		/* i2c5_sda */
155		>;
156	};
157
158	mmc1_pins: pinmux_mmc1_pins {
159		pinctrl-single,pins = <
160			OMAP5_IOPAD(0x1d4, PIN_INPUT_PULLUP | MUX_MODE6)	/* gpio5_152 */
161		>;
162	};
163};
164
165&tpd12s015 {
166	gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>,	/* TCA6424A P01, CT CP HPD */
167		<&gpio9 1 GPIO_ACTIVE_HIGH>,	/* TCA6424A P00, LS OE */
168		<&gpio7 1 GPIO_ACTIVE_HIGH>;	/* GPIO 193, HPD */
169};
170
171&twl6040 {
172	ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>;  /* gpio line 141 */
173};
174
175&twl6040_pins {
176	pinctrl-single,pins = <
177		OMAP5_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE6)	/* mcspi1_somi.gpio5_141 */
178	>;
179};
180
181&usbhsehci {
182	#address-cells = <1>;
183	#size-cells = <0>;
184
185	hub@2 {
186		compatible = "usb424,3503";
187		reg = <2>;
188		#address-cells = <1>;
189		#size-cells = <0>;
190	};
191
192	ethernet: usbether@3 {
193		compatible = "usb424,9730";
194		reg = <3>;
195	};
196};
197
198&wlcore {
199	compatible = "ti,wl1837";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200};