xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/am437x-cm-t43.dts (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot/*
3*01950c46SEmmanuel Vadot * Copyright (C) 2015 CompuLab, Ltd. - https://www.compulab.co.il/
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/dts-v1/;
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/am43xx.h>
9f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
11f126890aSEmmanuel Vadot#include "am4372.dtsi"
12f126890aSEmmanuel Vadot
13f126890aSEmmanuel Vadot/ {
14f126890aSEmmanuel Vadot	model = "CompuLab CM-T43";
15f126890aSEmmanuel Vadot	compatible = "compulab,am437x-cm-t43", "ti,am4372", "ti,am43";
16f126890aSEmmanuel Vadot
17f126890aSEmmanuel Vadot	leds {
18f126890aSEmmanuel Vadot		compatible = "gpio-leds";
19f126890aSEmmanuel Vadot
20f126890aSEmmanuel Vadot		ledb {
21f126890aSEmmanuel Vadot			label = "cm-t43:green";
22f126890aSEmmanuel Vadot			gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
23f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
24f126890aSEmmanuel Vadot		};
25f126890aSEmmanuel Vadot	};
26f126890aSEmmanuel Vadot
27f126890aSEmmanuel Vadot	vmmc_3v3: fixedregulator-v3_3 {
28f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
29f126890aSEmmanuel Vadot		regulator-name = "vmmc_3v3";
30f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
31f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
32f126890aSEmmanuel Vadot		regulator-always-on;
33f126890aSEmmanuel Vadot		enable-active-high;
34f126890aSEmmanuel Vadot	};
35f126890aSEmmanuel Vadot};
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot&am43xx_pinmux {
38f126890aSEmmanuel Vadot	pinctrl-names = "default";
39f126890aSEmmanuel Vadot	pinctrl-0 = <&cm_t43_led_pins>;
40f126890aSEmmanuel Vadot
41f126890aSEmmanuel Vadot	cm_t43_led_pins: cm-t43-led-pins {
42f126890aSEmmanuel Vadot		pinctrl-single,pins = <
43f126890aSEmmanuel Vadot			AM4372_IOPAD(0xa78, MUX_MODE7)
44f126890aSEmmanuel Vadot		>;
45f126890aSEmmanuel Vadot	};
46f126890aSEmmanuel Vadot
47f126890aSEmmanuel Vadot	i2c0_pins: i2c0-pins {
48f126890aSEmmanuel Vadot		pinctrl-single,pins = <
49f126890aSEmmanuel Vadot			AM4372_IOPAD(0x988, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_sda.i2c0_sda */
50f126890aSEmmanuel Vadot			AM4372_IOPAD(0x98c, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_scl.i2c0_scl */
51f126890aSEmmanuel Vadot		>;
52f126890aSEmmanuel Vadot	};
53f126890aSEmmanuel Vadot
54f126890aSEmmanuel Vadot	emmc_pins: emmc-pins {
55f126890aSEmmanuel Vadot		pinctrl-single,pins = <
56f126890aSEmmanuel Vadot			AM4372_IOPAD(0x820, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad8.mmc1_dat0 */
57f126890aSEmmanuel Vadot			AM4372_IOPAD(0x824, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad9.mmc1_dat1 */
58f126890aSEmmanuel Vadot			AM4372_IOPAD(0x828, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad10.mmc1_dat2 */
59f126890aSEmmanuel Vadot			AM4372_IOPAD(0x82c, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad11.mmc1_dat3 */
60f126890aSEmmanuel Vadot			AM4372_IOPAD(0x830, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad12.mmc1_dat4 */
61f126890aSEmmanuel Vadot			AM4372_IOPAD(0x834, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad13.mmc1_dat5 */
62f126890aSEmmanuel Vadot			AM4372_IOPAD(0x838, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad14.mmc1_dat6 */
63f126890aSEmmanuel Vadot			AM4372_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_ad15.mmc1_dat7 */
64f126890aSEmmanuel Vadot			AM4372_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
65f126890aSEmmanuel Vadot			AM4372_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
66f126890aSEmmanuel Vadot		>;
67f126890aSEmmanuel Vadot	};
68f126890aSEmmanuel Vadot
69f126890aSEmmanuel Vadot	spi0_pins: spi0-pins {
70f126890aSEmmanuel Vadot		pinctrl-single,pins = <
71f126890aSEmmanuel Vadot			AM4372_IOPAD(0x950, PIN_INPUT | MUX_MODE0) /* spi0_sclk.spi0_sclk */
72f126890aSEmmanuel Vadot			AM4372_IOPAD(0x954, PIN_INPUT | MUX_MODE0) /* spi0_d0.spi0_d0 */
73f126890aSEmmanuel Vadot			AM4372_IOPAD(0x958, PIN_OUTPUT | MUX_MODE0) /* spi0_d1.spi0_d1 */
74f126890aSEmmanuel Vadot			AM4372_IOPAD(0x95C, PIN_OUTPUT | MUX_MODE0) /* spi0_cs0.spi0_cs0 */
75f126890aSEmmanuel Vadot		>;
76f126890aSEmmanuel Vadot	};
77f126890aSEmmanuel Vadot
78f126890aSEmmanuel Vadot	nand_flash_x8: nand-flash-x8-pins {
79f126890aSEmmanuel Vadot		pinctrl-single,pins = <
80f126890aSEmmanuel Vadot			AM4372_IOPAD(0x800, PIN_INPUT | PULL_DISABLE | MUX_MODE0)
81f126890aSEmmanuel Vadot			AM4372_IOPAD(0x804, PIN_INPUT | PULL_DISABLE | MUX_MODE0)
82f126890aSEmmanuel Vadot			AM4372_IOPAD(0x808, PIN_INPUT | PULL_DISABLE | MUX_MODE0)
83f126890aSEmmanuel Vadot			AM4372_IOPAD(0x80c, PIN_INPUT | PULL_DISABLE | MUX_MODE0)
84f126890aSEmmanuel Vadot			AM4372_IOPAD(0x810, PIN_INPUT | PULL_DISABLE | MUX_MODE0)
85f126890aSEmmanuel Vadot			AM4372_IOPAD(0x814, PIN_INPUT | PULL_DISABLE | MUX_MODE0)
86f126890aSEmmanuel Vadot			AM4372_IOPAD(0x818, PIN_INPUT | PULL_DISABLE | MUX_MODE0)
87f126890aSEmmanuel Vadot			AM4372_IOPAD(0x81c, PIN_INPUT | PULL_DISABLE | MUX_MODE0)
88f126890aSEmmanuel Vadot			AM4372_IOPAD(0x870, PIN_INPUT_PULLUP  | MUX_MODE0)
89f126890aSEmmanuel Vadot			AM4372_IOPAD(0x874, PIN_OUTPUT_PULLUP | MUX_MODE0)
90f126890aSEmmanuel Vadot			AM4372_IOPAD(0x87c, PIN_OUTPUT_PULLUP | MUX_MODE0)
91f126890aSEmmanuel Vadot			AM4372_IOPAD(0x898, PIN_OUTPUT_PULLDOWN | MUX_MODE0)
92f126890aSEmmanuel Vadot			AM4372_IOPAD(0x894, PIN_OUTPUT_PULLDOWN | MUX_MODE0)
93f126890aSEmmanuel Vadot			AM4372_IOPAD(0x890, PIN_OUTPUT_PULLDOWN | MUX_MODE0)
94f126890aSEmmanuel Vadot			AM4372_IOPAD(0x89c, PIN_OUTPUT_PULLDOWN | MUX_MODE0)
95f126890aSEmmanuel Vadot		>;
96f126890aSEmmanuel Vadot	};
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot	cpsw_default: cpsw-default-pins {
99f126890aSEmmanuel Vadot		pinctrl-single,pins = <
100f126890aSEmmanuel Vadot			/* Slave 1 */
101f126890aSEmmanuel Vadot			AM4372_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_txen */
102f126890aSEmmanuel Vadot			AM4372_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rxctl */
103f126890aSEmmanuel Vadot			AM4372_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_txd3 */
104f126890aSEmmanuel Vadot			AM4372_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_txd2 */
105f126890aSEmmanuel Vadot			AM4372_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_txd1 */
106f126890aSEmmanuel Vadot			AM4372_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_txd0 */
107f126890aSEmmanuel Vadot			AM4372_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rmii1_tclk */
108f126890aSEmmanuel Vadot			AM4372_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rmii1_rclk */
109f126890aSEmmanuel Vadot			AM4372_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rxd3 */
110f126890aSEmmanuel Vadot			AM4372_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rxd2 */
111f126890aSEmmanuel Vadot			AM4372_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rxd1 */
112f126890aSEmmanuel Vadot			AM4372_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rxd0 */
113f126890aSEmmanuel Vadot			AM4372_IOPAD(0xa74, MUX_MODE3)
114f126890aSEmmanuel Vadot			/* Slave 2 */
115f126890aSEmmanuel Vadot			AM4372_IOPAD(0x840, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a0.txen */
116f126890aSEmmanuel Vadot			AM4372_IOPAD(0x844, PIN_INPUT_PULLDOWN  | MUX_MODE2)	/* gpmc_a1.rxctl */
117f126890aSEmmanuel Vadot			AM4372_IOPAD(0x848, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a2.txd3 */
118f126890aSEmmanuel Vadot			AM4372_IOPAD(0x84c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a3.txd2 */
119f126890aSEmmanuel Vadot			AM4372_IOPAD(0x850, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a4.txd1 */
120f126890aSEmmanuel Vadot			AM4372_IOPAD(0x854, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a5.txd0 */
121f126890aSEmmanuel Vadot			AM4372_IOPAD(0x858, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a6.tclk */
122f126890aSEmmanuel Vadot			AM4372_IOPAD(0x85c, PIN_INPUT_PULLDOWN  | MUX_MODE2)	/* gpmc_a7.rclk */
123f126890aSEmmanuel Vadot			AM4372_IOPAD(0x860, PIN_INPUT_PULLDOWN  | MUX_MODE2)	/* gpmc_a8.rxd3 */
124f126890aSEmmanuel Vadot			AM4372_IOPAD(0x864, PIN_INPUT_PULLDOWN  | MUX_MODE2)	/* gpmc_a9.rxd2 */
125f126890aSEmmanuel Vadot			AM4372_IOPAD(0x868, PIN_INPUT_PULLDOWN  | MUX_MODE2)	/* gpmc_a10.rxd1 */
126f126890aSEmmanuel Vadot			AM4372_IOPAD(0x86c, PIN_INPUT_PULLDOWN  | MUX_MODE2)	/* gpmc_a11.rxd0 */
127f126890aSEmmanuel Vadot			AM4372_IOPAD(0xa38, MUX_MODE7)
128f126890aSEmmanuel Vadot		>;
129f126890aSEmmanuel Vadot	};
130f126890aSEmmanuel Vadot
131f126890aSEmmanuel Vadot	davinci_mdio_default: davinci-mdio-default-pins {
132f126890aSEmmanuel Vadot		pinctrl-single,pins = <
133f126890aSEmmanuel Vadot			/* MDIO */
134f126890aSEmmanuel Vadot			AM4372_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
135f126890aSEmmanuel Vadot			AM4372_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0)			/* mdio_clk.mdio_clk */
136f126890aSEmmanuel Vadot		>;
137f126890aSEmmanuel Vadot	};
138f126890aSEmmanuel Vadot};
139f126890aSEmmanuel Vadot
140f126890aSEmmanuel Vadot&gpmc {
141f126890aSEmmanuel Vadot	status = "okay";
142f126890aSEmmanuel Vadot	pinctrl-names = "default";
143f126890aSEmmanuel Vadot	pinctrl-0 = <&nand_flash_x8>;
144f126890aSEmmanuel Vadot	ranges = <0 0 0x08000000 0x1000000>;
145f126890aSEmmanuel Vadot	nand@0,0 {
146f126890aSEmmanuel Vadot		compatible = "ti,omap2-nand";
147f126890aSEmmanuel Vadot		reg = <0 0 4>;		/* CS0, offset 0, IO size 4 */
148f126890aSEmmanuel Vadot		interrupt-parent = <&gpmc>;
149f126890aSEmmanuel Vadot		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
150f126890aSEmmanuel Vadot			     <1 IRQ_TYPE_NONE>;	/* termcount */
151f126890aSEmmanuel Vadot		ti,nand-ecc-opt = "bch8";
152f126890aSEmmanuel Vadot		ti,elm-id = <&elm>;
153f126890aSEmmanuel Vadot
154f126890aSEmmanuel Vadot		nand-bus-width = <8>;
155f126890aSEmmanuel Vadot		gpmc,device-width = <1>;
156f126890aSEmmanuel Vadot		gpmc,sync-clk-ps = <0>;
157f126890aSEmmanuel Vadot		gpmc,cs-on-ns = <0>;
158f126890aSEmmanuel Vadot		gpmc,cs-rd-off-ns = <44>;
159f126890aSEmmanuel Vadot		gpmc,cs-wr-off-ns = <44>;
160f126890aSEmmanuel Vadot		gpmc,adv-on-ns = <6>;
161f126890aSEmmanuel Vadot		gpmc,adv-rd-off-ns = <34>;
162f126890aSEmmanuel Vadot		gpmc,adv-wr-off-ns = <44>;
163f126890aSEmmanuel Vadot		gpmc,we-on-ns = <0>;
164f126890aSEmmanuel Vadot		gpmc,we-off-ns = <40>;
165f126890aSEmmanuel Vadot		gpmc,oe-on-ns = <0>;
166f126890aSEmmanuel Vadot		gpmc,oe-off-ns = <54>;
167f126890aSEmmanuel Vadot		gpmc,access-ns = <64>;
168f126890aSEmmanuel Vadot		gpmc,rd-cycle-ns = <82>;
169f126890aSEmmanuel Vadot		gpmc,wr-cycle-ns = <82>;
170f126890aSEmmanuel Vadot		gpmc,bus-turnaround-ns = <0>;
171f126890aSEmmanuel Vadot		gpmc,cycle2cycle-delay-ns = <0>;
172f126890aSEmmanuel Vadot		gpmc,clk-activation-ns = <0>;
173f126890aSEmmanuel Vadot		gpmc,wr-access-ns = <40>;
174f126890aSEmmanuel Vadot		gpmc,wr-data-mux-bus-ns = <0>;
175f126890aSEmmanuel Vadot
176f126890aSEmmanuel Vadot		#address-cells = <1>;
177f126890aSEmmanuel Vadot		#size-cells = <1>;
178f126890aSEmmanuel Vadot		/* MTD partition table */
179f126890aSEmmanuel Vadot		partition@0 {
180f126890aSEmmanuel Vadot			label = "kernel";
181f126890aSEmmanuel Vadot			reg = <0x0 0x00980000>;
182f126890aSEmmanuel Vadot		};
183f126890aSEmmanuel Vadot		partition@980000 {
184f126890aSEmmanuel Vadot			label = "dtb";
185f126890aSEmmanuel Vadot			reg = <0x00980000 0x00080000>;
186f126890aSEmmanuel Vadot		};
187f126890aSEmmanuel Vadot		partition@a00000 {
188f126890aSEmmanuel Vadot			label = "rootfs";
189f126890aSEmmanuel Vadot			reg = <0x00a00000 0x0>;
190f126890aSEmmanuel Vadot		};
191f126890aSEmmanuel Vadot	};
192f126890aSEmmanuel Vadot};
193f126890aSEmmanuel Vadot
194f126890aSEmmanuel Vadot&i2c0 {
195f126890aSEmmanuel Vadot	status = "okay";
196f126890aSEmmanuel Vadot	pinctrl-names = "default";
197f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c0_pins>;
198f126890aSEmmanuel Vadot	clock-frequency = <100000>;
199f126890aSEmmanuel Vadot
200f126890aSEmmanuel Vadot	tps65218: tps65218@24 {
201f126890aSEmmanuel Vadot		compatible = "ti,tps65218";
202f126890aSEmmanuel Vadot		reg = <0x24>;
203f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* NMIn */
204f126890aSEmmanuel Vadot		interrupt-parent = <&gic>;
205f126890aSEmmanuel Vadot		interrupt-controller;
206f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
207f126890aSEmmanuel Vadot
208f126890aSEmmanuel Vadot		dcdc1: regulator-dcdc1 {
209f126890aSEmmanuel Vadot			regulator-name = "vdd_core";
210f126890aSEmmanuel Vadot			regulator-min-microvolt = <912000>;
211f126890aSEmmanuel Vadot			regulator-max-microvolt = <1144000>;
212f126890aSEmmanuel Vadot			regulator-boot-on;
213f126890aSEmmanuel Vadot			regulator-always-on;
214f126890aSEmmanuel Vadot		};
215f126890aSEmmanuel Vadot
216f126890aSEmmanuel Vadot		dcdc2: regulator-dcdc2 {
217f126890aSEmmanuel Vadot			regulator-name = "vdd_mpu";
218f126890aSEmmanuel Vadot			regulator-min-microvolt = <912000>;
219f126890aSEmmanuel Vadot			regulator-max-microvolt = <1378000>;
220f126890aSEmmanuel Vadot			regulator-boot-on;
221f126890aSEmmanuel Vadot			regulator-always-on;
222f126890aSEmmanuel Vadot		};
223f126890aSEmmanuel Vadot
224f126890aSEmmanuel Vadot		dcdc3: regulator-dcdc3 {
225f126890aSEmmanuel Vadot			regulator-name = "vdcdc3";
226f126890aSEmmanuel Vadot			regulator-suspend-enable;
227f126890aSEmmanuel Vadot			regulator-min-microvolt = <1500000>;
228f126890aSEmmanuel Vadot			regulator-max-microvolt = <1500000>;
229f126890aSEmmanuel Vadot			regulator-boot-on;
230f126890aSEmmanuel Vadot			regulator-always-on;
231f126890aSEmmanuel Vadot		};
232f126890aSEmmanuel Vadot
233f126890aSEmmanuel Vadot		dcdc5: regulator-dcdc5 {
234f126890aSEmmanuel Vadot			regulator-name = "v1_0bat";
235f126890aSEmmanuel Vadot			regulator-min-microvolt = <1000000>;
236f126890aSEmmanuel Vadot			regulator-max-microvolt = <1000000>;
237f126890aSEmmanuel Vadot			regulator-boot-on;
238f126890aSEmmanuel Vadot			regulator-always-on;
239f126890aSEmmanuel Vadot		};
240f126890aSEmmanuel Vadot
241f126890aSEmmanuel Vadot		dcdc6: regulator-dcdc6 {
242f126890aSEmmanuel Vadot			regulator-name = "v1_8bat";
243f126890aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
244f126890aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
245f126890aSEmmanuel Vadot			regulator-boot-on;
246f126890aSEmmanuel Vadot			regulator-always-on;
247f126890aSEmmanuel Vadot		};
248f126890aSEmmanuel Vadot
249f126890aSEmmanuel Vadot		ldo1: regulator-ldo1 {
250f126890aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
251f126890aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
252f126890aSEmmanuel Vadot			regulator-boot-on;
253f126890aSEmmanuel Vadot			regulator-always-on;
254f126890aSEmmanuel Vadot		};
255f126890aSEmmanuel Vadot	};
256f126890aSEmmanuel Vadot
257f126890aSEmmanuel Vadot	eeprom_module: at24@50 {
258f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
259f126890aSEmmanuel Vadot		reg = <0x50>;
260f126890aSEmmanuel Vadot		pagesize = <16>;
261f126890aSEmmanuel Vadot	};
262f126890aSEmmanuel Vadot};
263f126890aSEmmanuel Vadot
264f126890aSEmmanuel Vadot&gpio0 {
265f126890aSEmmanuel Vadot	status = "okay";
266f126890aSEmmanuel Vadot};
267f126890aSEmmanuel Vadot
268f126890aSEmmanuel Vadot&gpio1 {
269f126890aSEmmanuel Vadot	status = "okay";
270f126890aSEmmanuel Vadot};
271f126890aSEmmanuel Vadot
272f126890aSEmmanuel Vadot&gpio2 {
273f126890aSEmmanuel Vadot	status = "okay";
274f126890aSEmmanuel Vadot};
275f126890aSEmmanuel Vadot
276f126890aSEmmanuel Vadot&gpio3 {
277f126890aSEmmanuel Vadot	status = "okay";
278f126890aSEmmanuel Vadot};
279f126890aSEmmanuel Vadot
280f126890aSEmmanuel Vadot&gpio4 {
281f126890aSEmmanuel Vadot	status = "okay";
282f126890aSEmmanuel Vadot};
283f126890aSEmmanuel Vadot
284f126890aSEmmanuel Vadot&gpio5 {
285f126890aSEmmanuel Vadot	status = "okay";
286f126890aSEmmanuel Vadot};
287f126890aSEmmanuel Vadot
288f126890aSEmmanuel Vadot&mmc2 {
289f126890aSEmmanuel Vadot	status = "okay";
290f126890aSEmmanuel Vadot	pinctrl-names = "default";
291f126890aSEmmanuel Vadot	pinctrl-0 = <&emmc_pins>;
292f126890aSEmmanuel Vadot	vmmc-supply = <&vmmc_3v3>;
293f126890aSEmmanuel Vadot	bus-width = <8>;
294f126890aSEmmanuel Vadot	non-removable;
295f126890aSEmmanuel Vadot};
296f126890aSEmmanuel Vadot
297f126890aSEmmanuel Vadot&spi0 {
298f126890aSEmmanuel Vadot	status = "okay";
299f126890aSEmmanuel Vadot	pinctrl-names = "default";
300f126890aSEmmanuel Vadot	pinctrl-0 = <&spi0_pins>;
301f126890aSEmmanuel Vadot	dmas = <&edma 16 0
302f126890aSEmmanuel Vadot		&edma 17 0>;
303f126890aSEmmanuel Vadot	dma-names = "tx0", "rx0";
304f126890aSEmmanuel Vadot
305f126890aSEmmanuel Vadot	flash: flash@0 {
306f126890aSEmmanuel Vadot		#address-cells = <1>;
307f126890aSEmmanuel Vadot		#size-cells = <1>;
308f126890aSEmmanuel Vadot		compatible = "jedec,spi-nor";
309f126890aSEmmanuel Vadot		reg = <0>;
310f126890aSEmmanuel Vadot		spi-max-frequency = <20000000>;
311f126890aSEmmanuel Vadot		partition@0 {
312f126890aSEmmanuel Vadot			label = "uboot";
313f126890aSEmmanuel Vadot			reg = <0x0 0xc0000>;
314f126890aSEmmanuel Vadot		};
315f126890aSEmmanuel Vadot
316f126890aSEmmanuel Vadot		partition@c0000 {
317f126890aSEmmanuel Vadot			label = "uboot environment";
318f126890aSEmmanuel Vadot			reg = <0xc0000 0x40000>;
319f126890aSEmmanuel Vadot		};
320f126890aSEmmanuel Vadot
321f126890aSEmmanuel Vadot		partition@100000 {
322f126890aSEmmanuel Vadot			label = "reserved";
323f126890aSEmmanuel Vadot			reg = <0x100000 0x100000>;
324f126890aSEmmanuel Vadot		};
325f126890aSEmmanuel Vadot	};
326f126890aSEmmanuel Vadot};
327f126890aSEmmanuel Vadot
328f126890aSEmmanuel Vadot&mac_sw {
329f126890aSEmmanuel Vadot	pinctrl-names = "default";
330f126890aSEmmanuel Vadot	pinctrl-0 = <&cpsw_default>;
331f126890aSEmmanuel Vadot	status = "okay";
332f126890aSEmmanuel Vadot};
333f126890aSEmmanuel Vadot
334f126890aSEmmanuel Vadot&davinci_mdio_sw {
335f126890aSEmmanuel Vadot	pinctrl-names = "default";
336f126890aSEmmanuel Vadot	pinctrl-0 = <&davinci_mdio_default>;
337f126890aSEmmanuel Vadot
338f126890aSEmmanuel Vadot	ethphy0: ethernet-phy@0 {
339f126890aSEmmanuel Vadot		reg = <0>;
340f126890aSEmmanuel Vadot	};
341f126890aSEmmanuel Vadot
342f126890aSEmmanuel Vadot	ethphy1: ethernet-phy@1 {
343f126890aSEmmanuel Vadot		reg = <1>;
344f126890aSEmmanuel Vadot	};
345f126890aSEmmanuel Vadot};
346f126890aSEmmanuel Vadot
347f126890aSEmmanuel Vadot&cpsw_port1 {
348f126890aSEmmanuel Vadot	phy-handle = <&ethphy0>;
349f126890aSEmmanuel Vadot	phy-mode = "rgmii-txid";
350f126890aSEmmanuel Vadot	ti,dual-emac-pvid = <1>;
351f126890aSEmmanuel Vadot};
352f126890aSEmmanuel Vadot
353f126890aSEmmanuel Vadot&cpsw_port2 {
354f126890aSEmmanuel Vadot	phy-handle = <&ethphy1>;
355f126890aSEmmanuel Vadot	phy-mode = "rgmii-txid";
356f126890aSEmmanuel Vadot	ti,dual-emac-pvid = <2>;
357f126890aSEmmanuel Vadot};
358f126890aSEmmanuel Vadot
359f126890aSEmmanuel Vadot&dwc3_1 {
360f126890aSEmmanuel Vadot	status = "okay";
361f126890aSEmmanuel Vadot};
362f126890aSEmmanuel Vadot
363f126890aSEmmanuel Vadot&usb2_phy1 {
364f126890aSEmmanuel Vadot	status = "okay";
365f126890aSEmmanuel Vadot};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot&usb1 {
368f126890aSEmmanuel Vadot	dr_mode = "host";
369f126890aSEmmanuel Vadot	status = "okay";
370f126890aSEmmanuel Vadot};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot&dwc3_2 {
373f126890aSEmmanuel Vadot	status = "okay";
374f126890aSEmmanuel Vadot};
375f126890aSEmmanuel Vadot
376f126890aSEmmanuel Vadot&usb2_phy2 {
377f126890aSEmmanuel Vadot	status = "okay";
378f126890aSEmmanuel Vadot};
379f126890aSEmmanuel Vadot
380f126890aSEmmanuel Vadot&usb2 {
381f126890aSEmmanuel Vadot	dr_mode = "host";
382f126890aSEmmanuel Vadot	status = "okay";
383f126890aSEmmanuel Vadot	interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
384f126890aSEmmanuel Vadot		     <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
385f126890aSEmmanuel Vadot		     <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
386f126890aSEmmanuel Vadot	interrupt-names = "peripheral", "host", "otg";
387f126890aSEmmanuel Vadot};
388f126890aSEmmanuel Vadot
389f126890aSEmmanuel Vadot&elm {
390f126890aSEmmanuel Vadot	status = "okay";
391f126890aSEmmanuel Vadot};
392f126890aSEmmanuel Vadot
393f126890aSEmmanuel Vadot&uart0 {
394f126890aSEmmanuel Vadot	status = "okay";
395f126890aSEmmanuel Vadot};
396f126890aSEmmanuel Vadot
397f126890aSEmmanuel Vadot&tscadc {
398f126890aSEmmanuel Vadot	status = "okay";
399f126890aSEmmanuel Vadot	tsc {
400f126890aSEmmanuel Vadot		ti,wires = <4>;
401f126890aSEmmanuel Vadot		ti,x-plate-resistance = <200>;
402f126890aSEmmanuel Vadot		ti,coordinate-readouts = <5>;
403f126890aSEmmanuel Vadot		ti,wire-config = <0x00 0x11 0x22 0x33>;
404f126890aSEmmanuel Vadot	};
405f126890aSEmmanuel Vadot
406f126890aSEmmanuel Vadot	adc {
407f126890aSEmmanuel Vadot		ti,adc-channels = <4 5 6 7>;
408f126890aSEmmanuel Vadot	};
409f126890aSEmmanuel Vadot};
410f126890aSEmmanuel Vadot
411f126890aSEmmanuel Vadot&cpu {
412f126890aSEmmanuel Vadot	cpu0-supply = <&dcdc2>;
413f126890aSEmmanuel Vadot	operating-points = <1000000 1330000>,
414f126890aSEmmanuel Vadot			   <800000 1260000>,
415f126890aSEmmanuel Vadot			   <720000 1200000>,
416f126890aSEmmanuel Vadot			   <600000 1100000>,
417f126890aSEmmanuel Vadot			   <300000 950000>;
418f126890aSEmmanuel Vadot};
419f126890aSEmmanuel Vadot
420f126890aSEmmanuel Vadot&pruss1_mdio {
421f126890aSEmmanuel Vadot	status = "disabled";
422f126890aSEmmanuel Vadot};
423