Linux Audio

Check our new training course

Loading...
v4.17
 
  1/*
  2 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.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 "dra72x.dtsi"
 11#include <dt-bindings/gpio/gpio.h>
 12#include <dt-bindings/interrupt-controller/irq.h>
 
 13#include "dra72x-mmc-iodelay.dtsi"
 14#include "am57xx-idk-common.dtsi"
 15
 16/ {
 17	model = "TI AM5718 IDK";
 18	compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7";
 19
 20	memory@80000000 {
 21		device_type = "memory";
 22		reg = <0x0 0x80000000 0x0 0x40000000>;
 23	};
 24
 25	leds {
 26		compatible = "gpio-leds";
 27		cpu0-led {
 28			label = "status0:red:cpu0";
 29			gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
 30			default-state = "off";
 31			linux,default-trigger = "cpu0";
 32		};
 33
 34		usr0-led {
 35			label = "status0:green:usr";
 36			gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
 37			default-state = "off";
 38		};
 39
 40		heartbeat-led {
 41			label = "status0:blue:heartbeat";
 42			gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
 43			default-state = "off";
 44			linux,default-trigger = "heartbeat";
 45		};
 46
 47		usr1-led {
 48			label = "status1:red:usr";
 49			gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
 50			default-state = "off";
 51		};
 52
 53		usr2-led {
 54			label = "status1:green:usr";
 55			gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
 56			default-state = "off";
 57		};
 58
 59		mmc0-led {
 60			label = "status1:blue:mmc0";
 61			gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
 62			default-state = "off";
 63			linux,default-trigger = "mmc0";
 64		};
 65	};
 66};
 67
 68&omap_dwc3_2 {
 69	extcon = <&extcon_usb2>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 70};
 71
 72&extcon_usb2 {
 73	id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
 74	vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
 75};
 76
 
 
 
 
 77&mailbox5 {
 78	status = "okay";
 79	mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
 80		status = "okay";
 81	};
 82	mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
 83		status = "okay";
 84	};
 85};
 86
 87&mailbox6 {
 88	status = "okay";
 89	mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
 90		status = "okay";
 91	};
 92};
 93
 94&pcie1_rc {
 95	status = "okay";
 96	gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
 97};
 98
 99&pcie1_ep {
100	gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
101};
102
103&mmc1 {
104	pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
105	pinctrl-0 = <&mmc1_pins_default>;
106	pinctrl-1 = <&mmc1_pins_hs>;
107	pinctrl-2 = <&mmc1_pins_sdr12>;
108	pinctrl-3 = <&mmc1_pins_sdr25>;
109	pinctrl-4 = <&mmc1_pins_sdr50>;
110	pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>;
111	pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
112};
113
114&mmc2 {
115	pinctrl-names = "default", "hs", "ddr_1_8v";
116	pinctrl-0 = <&mmc2_pins_default>;
117	pinctrl-1 = <&mmc2_pins_hs>;
118	pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
119};
120
121&cpu0 {
122	vdd-supply = <&smps12_reg>;
123};
v5.4
  1// SPDX-License-Identifier: GPL-2.0-only
  2/*
  3 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
 
 
 
 
  4 */
  5/dts-v1/;
  6
  7#include "am5718.dtsi"
  8#include <dt-bindings/gpio/gpio.h>
  9#include <dt-bindings/interrupt-controller/irq.h>
 10#include "dra7-mmc-iodelay.dtsi"
 11#include "dra72x-mmc-iodelay.dtsi"
 12#include "am57xx-idk-common.dtsi"
 13
 14/ {
 15	model = "TI AM5718 IDK";
 16	compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7";
 17
 18	memory@80000000 {
 19		device_type = "memory";
 20		reg = <0x0 0x80000000 0x0 0x40000000>;
 21	};
 22
 23	leds {
 24		compatible = "gpio-leds";
 25		cpu0-led {
 26			label = "status0:red:cpu0";
 27			gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
 28			default-state = "off";
 29			linux,default-trigger = "cpu0";
 30		};
 31
 32		usr0-led {
 33			label = "status0:green:usr";
 34			gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
 35			default-state = "off";
 36		};
 37
 38		heartbeat-led {
 39			label = "status0:blue:heartbeat";
 40			gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
 41			default-state = "off";
 42			linux,default-trigger = "heartbeat";
 43		};
 44
 45		usr1-led {
 46			label = "status1:red:usr";
 47			gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
 48			default-state = "off";
 49		};
 50
 51		usr2-led {
 52			label = "status1:green:usr";
 53			gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
 54			default-state = "off";
 55		};
 56
 57		mmc0-led {
 58			label = "status1:blue:mmc0";
 59			gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
 60			default-state = "off";
 61			linux,default-trigger = "mmc0";
 62		};
 63	};
 
 64
 65	idk-leds {
 66		status = "disabled";
 67		compatible = "gpio-leds";
 68		red0-led {
 69			label = "idk:red0";
 70			gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
 71			default-state = "off";
 72		};
 73
 74		green0-led {
 75			label = "idk:green0";
 76			gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
 77			default-state = "off";
 78		};
 79
 80		blue0-led {
 81			label = "idk:blue0";
 82			gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
 83			default-state = "off";
 84		};
 85
 86		red1-led {
 87			label = "idk:red1";
 88			gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
 89			default-state = "off";
 90		};
 91
 92		green1-led {
 93			label = "idk:green1";
 94			gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
 95			default-state = "off";
 96		};
 97
 98		blue1-led {
 99			label = "idk:blue1";
100			gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
101			default-state = "off";
102		};
103
104		red2-led {
105			label = "idk:red2";
106			gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
107			default-state = "off";
108		};
109
110		green2-led {
111			label = "idk:green2";
112			gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
113			default-state = "off";
114		};
115
116		blue2-led {
117			label = "idk:blue2";
118			gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>;
119			default-state = "off";
120		};
121
122		red3-led {
123			label = "idk:red3";
124			gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
125			default-state = "off";
126		};
127
128		green3-led {
129			label = "idk:green3";
130			gpios = <&gpio7 25 GPIO_ACTIVE_HIGH>;
131			default-state = "off";
132		};
133
134		blue3-led {
135			label = "idk:blue3";
136			gpios = <&gpio7 24 GPIO_ACTIVE_HIGH>;
137			default-state = "off";
138		};
139	};
140};
141
142&extcon_usb2 {
143	id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
144	vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
145};
146
147&sn65hvs882 {
148	load-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
149};
150
151&mailbox5 {
152	status = "okay";
153	mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
154		status = "okay";
155	};
156	mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
157		status = "okay";
158	};
159};
160
161&mailbox6 {
162	status = "okay";
163	mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
164		status = "okay";
165	};
166};
167
168&pcie1_rc {
169	status = "okay";
170	gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
171};
172
173&pcie1_ep {
174	gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
175};
176
177&mmc1 {
178	pinctrl-names = "default", "hs";
179	pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
180	pinctrl-1 = <&mmc1_pins_hs>;
 
 
 
 
 
181};
182
183&mmc2 {
184	pinctrl-names = "default", "hs", "ddr_3_3v";
185	pinctrl-0 = <&mmc2_pins_default>;
186	pinctrl-1 = <&mmc2_pins_hs>;
187	pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
 
 
 
 
188};