xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-am642-sr-som.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
101950c46SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
201950c46SEmmanuel Vadot/*
301950c46SEmmanuel Vadot * Copyright (C) 2023 Josua Mayer <josua@solid-run.com>
401950c46SEmmanuel Vadot *
501950c46SEmmanuel Vadot */
601950c46SEmmanuel Vadot
701950c46SEmmanuel Vadot#include <dt-bindings/net/ti-dp83869.h>
801950c46SEmmanuel Vadot
901950c46SEmmanuel Vadot/ {
1001950c46SEmmanuel Vadot	model = "SolidRun AM642 SoM";
1101950c46SEmmanuel Vadot	compatible = "solidrun,am642-sr-som", "ti,am642";
1201950c46SEmmanuel Vadot
1301950c46SEmmanuel Vadot	aliases {
1401950c46SEmmanuel Vadot		ethernet0 = &cpsw_port1;
1501950c46SEmmanuel Vadot		ethernet1 = &icssg1_emac0;
1601950c46SEmmanuel Vadot		ethernet2 = &icssg1_emac1;
1701950c46SEmmanuel Vadot		mmc0 = &sdhci0;
1801950c46SEmmanuel Vadot		mmc1 = &sdhci1;
1901950c46SEmmanuel Vadot		serial2 = &main_uart0;
2001950c46SEmmanuel Vadot	};
2101950c46SEmmanuel Vadot
2201950c46SEmmanuel Vadot	chosen {
2301950c46SEmmanuel Vadot		/* SoC default UART console */
2401950c46SEmmanuel Vadot		stdout-path = "serial2:115200n8";
2501950c46SEmmanuel Vadot	};
2601950c46SEmmanuel Vadot
2701950c46SEmmanuel Vadot	/* PRU Ethernet Controller */
2801950c46SEmmanuel Vadot	ethernet {
2901950c46SEmmanuel Vadot		compatible = "ti,am642-icssg-prueth";
3001950c46SEmmanuel Vadot		pinctrl-names = "default";
3101950c46SEmmanuel Vadot		pinctrl-0 = <&pru_rgmii1_default_pins>, <&pru_rgmii2_default_pins>;
3201950c46SEmmanuel Vadot
3301950c46SEmmanuel Vadot		sram = <&oc_sram>;
3401950c46SEmmanuel Vadot		ti,prus = <&pru1_0>, <&rtu1_0>, <&tx_pru1_0>, <&pru1_1>, <&rtu1_1>, <&tx_pru1_1>;
3501950c46SEmmanuel Vadot		firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf",
3601950c46SEmmanuel Vadot				"ti-pruss/am65x-sr2-rtu0-prueth-fw.elf",
3701950c46SEmmanuel Vadot				"ti-pruss/am65x-sr2-txpru0-prueth-fw.elf",
3801950c46SEmmanuel Vadot				"ti-pruss/am65x-sr2-pru1-prueth-fw.elf",
3901950c46SEmmanuel Vadot				"ti-pruss/am65x-sr2-rtu1-prueth-fw.elf",
4001950c46SEmmanuel Vadot				"ti-pruss/am65x-sr2-txpru1-prueth-fw.elf";
4101950c46SEmmanuel Vadot
4201950c46SEmmanuel Vadot		/* configure internal pinmux for mii mode */
4301950c46SEmmanuel Vadot		ti,pruss-gp-mux-sel = <2>, <2>, <2>, <2>, <2>, <2>;
4401950c46SEmmanuel Vadot
4501950c46SEmmanuel Vadot		ti,mii-g-rt = <&icssg1_mii_g_rt>;
4601950c46SEmmanuel Vadot		ti,mii-rt = <&icssg1_mii_rt>;
4701950c46SEmmanuel Vadot		ti,iep = <&icssg1_iep0>, <&icssg1_iep1>;
4801950c46SEmmanuel Vadot
4901950c46SEmmanuel Vadot		/*
5001950c46SEmmanuel Vadot		 * Configure icssg interrupt controller to map pru-internal
5101950c46SEmmanuel Vadot		 * interrupts 8/9 via channels 0/1 to host interrupts 0/1.
5201950c46SEmmanuel Vadot		 *
5301950c46SEmmanuel Vadot		 * For details see interrupt controller documentation:
5401950c46SEmmanuel Vadot		 * Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml
5501950c46SEmmanuel Vadot		 */
5601950c46SEmmanuel Vadot		interrupt-parent = <&icssg1_intc>;
5701950c46SEmmanuel Vadot		interrupts = <24 0 2>, <25 1 3>;
5801950c46SEmmanuel Vadot		interrupt-names = "tx_ts0", "tx_ts1";
5901950c46SEmmanuel Vadot
6001950c46SEmmanuel Vadot		dmas = <&main_pktdma 0xc200 15>, /* egress slice 0 */
6101950c46SEmmanuel Vadot		       <&main_pktdma 0xc201 15>, /* egress slice 0 */
6201950c46SEmmanuel Vadot		       <&main_pktdma 0xc202 15>, /* egress slice 0 */
6301950c46SEmmanuel Vadot		       <&main_pktdma 0xc203 15>, /* egress slice 0 */
6401950c46SEmmanuel Vadot		       <&main_pktdma 0xc204 15>, /* egress slice 1 */
6501950c46SEmmanuel Vadot		       <&main_pktdma 0xc205 15>, /* egress slice 1 */
6601950c46SEmmanuel Vadot		       <&main_pktdma 0xc206 15>, /* egress slice 1 */
6701950c46SEmmanuel Vadot		       <&main_pktdma 0xc207 15>, /* egress slice 1 */
6801950c46SEmmanuel Vadot		       <&main_pktdma 0x4200 15>, /* ingress slice 0 */
6901950c46SEmmanuel Vadot		       <&main_pktdma 0x4201 15>; /* ingress slice 1 */
7001950c46SEmmanuel Vadot		dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3",
7101950c46SEmmanuel Vadot			    "tx1-0", "tx1-1", "tx1-2", "tx1-3",
7201950c46SEmmanuel Vadot			    "rx0", "rx1";
7301950c46SEmmanuel Vadot
7401950c46SEmmanuel Vadot		ethernet-ports {
7501950c46SEmmanuel Vadot			#address-cells = <1>;
7601950c46SEmmanuel Vadot			#size-cells = <0>;
7701950c46SEmmanuel Vadot
7801950c46SEmmanuel Vadot			icssg1_emac0: port@0 {
7901950c46SEmmanuel Vadot				reg = <0>;
8001950c46SEmmanuel Vadot				ti,syscon-rgmii-delay = <&main_conf 0x4110>;
8101950c46SEmmanuel Vadot				/* Filled in by bootloader */
8201950c46SEmmanuel Vadot				local-mac-address = [00 00 00 00 00 00];
8301950c46SEmmanuel Vadot				phy-handle = <&ethernet_phy2>;
8401950c46SEmmanuel Vadot				phy-mode = "rgmii-id";
8501950c46SEmmanuel Vadot			};
8601950c46SEmmanuel Vadot
8701950c46SEmmanuel Vadot			icssg1_emac1: port@1 {
8801950c46SEmmanuel Vadot				reg = <1>;
8901950c46SEmmanuel Vadot				ti,syscon-rgmii-delay = <&main_conf 0x4114>;
9001950c46SEmmanuel Vadot				/* Filled in by bootloader */
9101950c46SEmmanuel Vadot				local-mac-address = [00 00 00 00 00 00];
9201950c46SEmmanuel Vadot				phy-handle = <&ethernet_phy1>;
9301950c46SEmmanuel Vadot				phy-mode = "rgmii-id";
9401950c46SEmmanuel Vadot			};
9501950c46SEmmanuel Vadot		};
9601950c46SEmmanuel Vadot	};
9701950c46SEmmanuel Vadot
9801950c46SEmmanuel Vadot	/* DDR16SS0:
9901950c46SEmmanuel Vadot	 * - Bank 1 @ 0x080000000-0x0FFFFFFFF: max. 2GB in 32-bit address space
10001950c46SEmmanuel Vadot	 * - Bank 2 @ 0x880000000-0x9FFFFFFFF: max. 6GB in 64-bit address space
10101950c46SEmmanuel Vadot	 */
10201950c46SEmmanuel Vadot	memory@80000000 {
10301950c46SEmmanuel Vadot		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
10401950c46SEmmanuel Vadot		      <0x00000008 0x80000000 0x00000001 0x80000000>;
10501950c46SEmmanuel Vadot		device_type = "memory";
10601950c46SEmmanuel Vadot	};
10701950c46SEmmanuel Vadot
10801950c46SEmmanuel Vadot	reserved-memory {
10901950c46SEmmanuel Vadot		#address-cells = <2>;
11001950c46SEmmanuel Vadot		#size-cells = <2>;
11101950c46SEmmanuel Vadot		ranges;
11201950c46SEmmanuel Vadot
11301950c46SEmmanuel Vadot		secure_ddr: optee@9e800000 {
11401950c46SEmmanuel Vadot			reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
11501950c46SEmmanuel Vadot			no-map;
11601950c46SEmmanuel Vadot		};
11701950c46SEmmanuel Vadot
11801950c46SEmmanuel Vadot		main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
11901950c46SEmmanuel Vadot			compatible = "shared-dma-pool";
12001950c46SEmmanuel Vadot			reg = <0x00 0xa0000000 0x00 0x100000>;
12101950c46SEmmanuel Vadot			no-map;
12201950c46SEmmanuel Vadot		};
12301950c46SEmmanuel Vadot
12401950c46SEmmanuel Vadot		main_r5fss0_core0_memory_region: r5f-memory@a0100000 {
12501950c46SEmmanuel Vadot			compatible = "shared-dma-pool";
12601950c46SEmmanuel Vadot			reg = <0x00 0xa0100000 0x00 0xf00000>;
12701950c46SEmmanuel Vadot			no-map;
12801950c46SEmmanuel Vadot		};
12901950c46SEmmanuel Vadot
13001950c46SEmmanuel Vadot		main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
13101950c46SEmmanuel Vadot			compatible = "shared-dma-pool";
13201950c46SEmmanuel Vadot			reg = <0x00 0xa1000000 0x00 0x100000>;
13301950c46SEmmanuel Vadot			no-map;
13401950c46SEmmanuel Vadot		};
13501950c46SEmmanuel Vadot
13601950c46SEmmanuel Vadot		main_r5fss0_core1_memory_region: r5f-memory@a1100000 {
13701950c46SEmmanuel Vadot			compatible = "shared-dma-pool";
13801950c46SEmmanuel Vadot			reg = <0x00 0xa1100000 0x00 0xf00000>;
13901950c46SEmmanuel Vadot			no-map;
14001950c46SEmmanuel Vadot		};
14101950c46SEmmanuel Vadot
14201950c46SEmmanuel Vadot		main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a2000000 {
14301950c46SEmmanuel Vadot			compatible = "shared-dma-pool";
14401950c46SEmmanuel Vadot			reg = <0x00 0xa2000000 0x00 0x100000>;
14501950c46SEmmanuel Vadot			no-map;
14601950c46SEmmanuel Vadot		};
14701950c46SEmmanuel Vadot
14801950c46SEmmanuel Vadot		main_r5fss1_core0_memory_region: r5f-memory@a2100000 {
14901950c46SEmmanuel Vadot			compatible = "shared-dma-pool";
15001950c46SEmmanuel Vadot			reg = <0x00 0xa2100000 0x00 0xf00000>;
15101950c46SEmmanuel Vadot			no-map;
15201950c46SEmmanuel Vadot		};
15301950c46SEmmanuel Vadot
15401950c46SEmmanuel Vadot		main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a3000000 {
15501950c46SEmmanuel Vadot			compatible = "shared-dma-pool";
15601950c46SEmmanuel Vadot			reg = <0x00 0xa3000000 0x00 0x100000>;
15701950c46SEmmanuel Vadot			no-map;
15801950c46SEmmanuel Vadot		};
15901950c46SEmmanuel Vadot
16001950c46SEmmanuel Vadot		main_r5fss1_core1_memory_region: r5f-memory@a3100000 {
16101950c46SEmmanuel Vadot			compatible = "shared-dma-pool";
16201950c46SEmmanuel Vadot			reg = <0x00 0xa3100000 0x00 0xf00000>;
16301950c46SEmmanuel Vadot			no-map;
16401950c46SEmmanuel Vadot		};
16501950c46SEmmanuel Vadot	};
16601950c46SEmmanuel Vadot
16701950c46SEmmanuel Vadot	vdd_mmc0: regulator-vdd-mmc0 {
16801950c46SEmmanuel Vadot		compatible = "regulator-fixed";
16901950c46SEmmanuel Vadot		regulator-name = "vdd-mmc0";
17001950c46SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
17101950c46SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
17201950c46SEmmanuel Vadot		regulator-always-on;
17301950c46SEmmanuel Vadot		regulator-boot-on;
17401950c46SEmmanuel Vadot	};
17501950c46SEmmanuel Vadot};
17601950c46SEmmanuel Vadot
17701950c46SEmmanuel Vadot&cpsw3g {
17801950c46SEmmanuel Vadot	pinctrl-names = "default";
17901950c46SEmmanuel Vadot	pinctrl-0 = <&rgmii1_default_pins>;
180*b2d2a78aSEmmanuel Vadot	status = "okay";
18101950c46SEmmanuel Vadot};
18201950c46SEmmanuel Vadot
18301950c46SEmmanuel Vadot&cpsw3g_mdio {
18401950c46SEmmanuel Vadot	pinctrl-names = "default";
18501950c46SEmmanuel Vadot	pinctrl-0 = <&mdio0_default_pins>;
18601950c46SEmmanuel Vadot	status = "okay";
18701950c46SEmmanuel Vadot
18801950c46SEmmanuel Vadot	ethernet_phy0: ethernet-phy@0 {
18901950c46SEmmanuel Vadot		compatible = "ethernet-phy-id2000.a0f1";
19001950c46SEmmanuel Vadot		reg = <0>;
19101950c46SEmmanuel Vadot		pinctrl-names = "default";
19201950c46SEmmanuel Vadot		pinctrl-0 = <&ethernet_phy0_default_pins>;
19301950c46SEmmanuel Vadot		ti,clk-output-sel = <DP83869_CLK_O_SEL_REF_CLK>;
19401950c46SEmmanuel Vadot		ti,op-mode = <DP83869_RGMII_COPPER_ETHERNET>;
19501950c46SEmmanuel Vadot		/*
19601950c46SEmmanuel Vadot		 * Disable interrupts because ISR never clears 0x0040
19701950c46SEmmanuel Vadot		 *
19801950c46SEmmanuel Vadot		 * interrupt-parent = <&main_gpio1>;
19901950c46SEmmanuel Vadot		 * interrupts = <70 IRQ_TYPE_LEVEL_LOW>;
20001950c46SEmmanuel Vadot		 */
20101950c46SEmmanuel Vadot		/*
20201950c46SEmmanuel Vadot		 * Disable HW Reset because clock signal is daisy-chained
20301950c46SEmmanuel Vadot		 *
20401950c46SEmmanuel Vadot		 * reset-gpios = <&main_gpio0 84 GPIO_ACTIVE_LOW>;
20501950c46SEmmanuel Vadot		 * reset-assert-us = <1>;
20601950c46SEmmanuel Vadot		 * reset-deassert-us = <30>;
20701950c46SEmmanuel Vadot		 */
20801950c46SEmmanuel Vadot	};
20901950c46SEmmanuel Vadot};
21001950c46SEmmanuel Vadot
21101950c46SEmmanuel Vadot&cpsw_port1 {
21201950c46SEmmanuel Vadot	phy-mode = "rgmii-id";
21301950c46SEmmanuel Vadot	phy-handle = <&ethernet_phy0>;
214*b2d2a78aSEmmanuel Vadot	status = "okay";
21501950c46SEmmanuel Vadot};
21601950c46SEmmanuel Vadot
21701950c46SEmmanuel Vadot&icssg1_mdio {
21801950c46SEmmanuel Vadot	pinctrl-names = "default";
21901950c46SEmmanuel Vadot	pinctrl-0 = <&pru1_mdio0_default_pins>;
22001950c46SEmmanuel Vadot	status = "okay";
22101950c46SEmmanuel Vadot
22201950c46SEmmanuel Vadot	ethernet_phy1: ethernet-phy@3 {
22301950c46SEmmanuel Vadot		compatible = "ethernet-phy-id2000.a0f1";
22401950c46SEmmanuel Vadot		reg = <3>;
22501950c46SEmmanuel Vadot		pinctrl-names = "default";
22601950c46SEmmanuel Vadot		pinctrl-0 = <&ethernet_phy1_default_pins>;
22701950c46SEmmanuel Vadot		ti,clk-output-sel = <DP83869_CLK_O_SEL_REF_CLK>;
22801950c46SEmmanuel Vadot		ti,op-mode = <DP83869_RGMII_COPPER_ETHERNET>;
22901950c46SEmmanuel Vadot		/*
23001950c46SEmmanuel Vadot		 * Disable interrupts because ISR never clears 0x0040
23101950c46SEmmanuel Vadot		 *
23201950c46SEmmanuel Vadot		 * interrupt-parent = <&main_gpio1>;
23301950c46SEmmanuel Vadot		 * interrupts = <70 IRQ_TYPE_LEVEL_LOW>;
23401950c46SEmmanuel Vadot		 */
23501950c46SEmmanuel Vadot		/*
23601950c46SEmmanuel Vadot		 * Disable HW Reset because clock signal is daisy-chained
23701950c46SEmmanuel Vadot		 *
23801950c46SEmmanuel Vadot		 * reset-gpios = <&main_gpio0 20 GPIO_ACTIVE_LOW>;
23901950c46SEmmanuel Vadot		 * reset-assert-us = <1>;
24001950c46SEmmanuel Vadot		 * reset-deassert-us = <30>;
24101950c46SEmmanuel Vadot		 */
24201950c46SEmmanuel Vadot	};
24301950c46SEmmanuel Vadot
24401950c46SEmmanuel Vadot	ethernet_phy2: ethernet-phy@f {
24501950c46SEmmanuel Vadot		compatible = "ethernet-phy-id2000.a0f1";
24601950c46SEmmanuel Vadot		reg = <0xf>;
24701950c46SEmmanuel Vadot		pinctrl-names = "default";
24801950c46SEmmanuel Vadot		pinctrl-0 = <&ethernet_phy2_default_pins>;
24901950c46SEmmanuel Vadot		ti,op-mode = <DP83869_RGMII_COPPER_ETHERNET>;
25001950c46SEmmanuel Vadot		/*
25101950c46SEmmanuel Vadot		 * Disable interrupts because ISR never clears 0x0040
25201950c46SEmmanuel Vadot		 *
25301950c46SEmmanuel Vadot		 * interrupt-parent = <&main_gpio1>;
25401950c46SEmmanuel Vadot		 * interrupts = <70 IRQ_TYPE_LEVEL_LOW>;
25501950c46SEmmanuel Vadot		 */
25601950c46SEmmanuel Vadot		/*
25701950c46SEmmanuel Vadot		 * Disable HW Reset because clock signal is daisy-chained
25801950c46SEmmanuel Vadot		 *
25901950c46SEmmanuel Vadot		 * reset-gpios = <&main_gpio0 52 GPIO_ACTIVE_LOW>;
26001950c46SEmmanuel Vadot		 * reset-assert-us = <1>;
26101950c46SEmmanuel Vadot		 * reset-deassert-us = <30>;
26201950c46SEmmanuel Vadot		 */
26301950c46SEmmanuel Vadot	};
26401950c46SEmmanuel Vadot};
26501950c46SEmmanuel Vadot
26601950c46SEmmanuel Vadot&mailbox0_cluster2 {
26701950c46SEmmanuel Vadot	status = "okay";
26801950c46SEmmanuel Vadot
26901950c46SEmmanuel Vadot	mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
27001950c46SEmmanuel Vadot		ti,mbox-rx = <0 0 2>;
27101950c46SEmmanuel Vadot		ti,mbox-tx = <1 0 2>;
27201950c46SEmmanuel Vadot	};
27301950c46SEmmanuel Vadot
27401950c46SEmmanuel Vadot	mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
27501950c46SEmmanuel Vadot		ti,mbox-rx = <2 0 2>;
27601950c46SEmmanuel Vadot		ti,mbox-tx = <3 0 2>;
27701950c46SEmmanuel Vadot	};
27801950c46SEmmanuel Vadot};
27901950c46SEmmanuel Vadot
28001950c46SEmmanuel Vadot&mailbox0_cluster4 {
28101950c46SEmmanuel Vadot	status = "okay";
28201950c46SEmmanuel Vadot
28301950c46SEmmanuel Vadot	mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 {
28401950c46SEmmanuel Vadot		ti,mbox-rx = <0 0 2>;
28501950c46SEmmanuel Vadot		ti,mbox-tx = <1 0 2>;
28601950c46SEmmanuel Vadot	};
28701950c46SEmmanuel Vadot
28801950c46SEmmanuel Vadot	mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 {
28901950c46SEmmanuel Vadot		ti,mbox-rx = <2 0 2>;
29001950c46SEmmanuel Vadot		ti,mbox-tx = <3 0 2>;
29101950c46SEmmanuel Vadot	};
29201950c46SEmmanuel Vadot};
29301950c46SEmmanuel Vadot
29401950c46SEmmanuel Vadot&main_i2c0 {
29501950c46SEmmanuel Vadot	pinctrl-names = "default";
29601950c46SEmmanuel Vadot	pinctrl-0 = <&main_i2c0_default_pins>;
29701950c46SEmmanuel Vadot	status = "okay";
29801950c46SEmmanuel Vadot
29901950c46SEmmanuel Vadot	som_eeprom: eeprom@50 {
30001950c46SEmmanuel Vadot		compatible = "atmel,24c01";
30101950c46SEmmanuel Vadot		reg = <0x50>;
30201950c46SEmmanuel Vadot		pagesize = <8>;
30301950c46SEmmanuel Vadot	};
30401950c46SEmmanuel Vadot};
30501950c46SEmmanuel Vadot
30601950c46SEmmanuel Vadot&main_pmx0 {
30701950c46SEmmanuel Vadot	/* hog global functions */
30801950c46SEmmanuel Vadot	pinctrl-names = "default";
30901950c46SEmmanuel Vadot	pinctrl-0 = <&ethernet_phy_default_pins>;
31001950c46SEmmanuel Vadot
31101950c46SEmmanuel Vadot	ethernet_phy_default_pins: ethernet-phy-default-pins {
31201950c46SEmmanuel Vadot		pinctrl-single,pins = <
31301950c46SEmmanuel Vadot			/* interrupt / power-down, external pull-up on SoM */
31401950c46SEmmanuel Vadot			AM64X_IOPAD(0x0278, PIN_INPUT, 7) /* EXTINTn.GPIO1_70 */
31501950c46SEmmanuel Vadot		>;
31601950c46SEmmanuel Vadot	};
31701950c46SEmmanuel Vadot
31801950c46SEmmanuel Vadot	ethernet_phy0_default_pins: ethernet-phy0-default-pins {
31901950c46SEmmanuel Vadot		pinctrl-single,pins = <
32001950c46SEmmanuel Vadot			/* reset */
32101950c46SEmmanuel Vadot			AM64X_IOPAD(0x0154, PIN_OUTPUT, 7) /* PRG1_PRU1_GPO19.GPIO0_84 */
32201950c46SEmmanuel Vadot			/* reference clock */
32301950c46SEmmanuel Vadot			AM64X_IOPAD(0x0274, PIN_OUTPUT, 5) /* EXT_REFCLK1.CLKOUT0 */
32401950c46SEmmanuel Vadot		>;
32501950c46SEmmanuel Vadot	};
32601950c46SEmmanuel Vadot
32701950c46SEmmanuel Vadot	ethernet_phy1_default_pins: ethernet-phy1-default-pins {
32801950c46SEmmanuel Vadot		pinctrl-single,pins = <
32901950c46SEmmanuel Vadot			/* reset */
33001950c46SEmmanuel Vadot			AM64X_IOPAD(0x0150, PIN_OUTPUT, 7) /* PRG1_PRU1_GPO18.GPIO0_20 */
33101950c46SEmmanuel Vadot			/* led0, external pull-down on SoM */
33201950c46SEmmanuel Vadot			AM64X_IOPAD(0x0128, PIN_INPUT, 7) /* PRG1_PRU1_GPO8.GPIO0_73 */
33301950c46SEmmanuel Vadot			/* led1/rxer */
33401950c46SEmmanuel Vadot			AM64X_IOPAD(0x011c, PIN_INPUT, 7) /* PRG1_PRU1_GPO5.GPIO0_70 */
33501950c46SEmmanuel Vadot		>;
33601950c46SEmmanuel Vadot	};
33701950c46SEmmanuel Vadot
33801950c46SEmmanuel Vadot	ethernet_phy2_default_pins: ethernet-phy2-default-pins {
33901950c46SEmmanuel Vadot		pinctrl-single,pins = <
34001950c46SEmmanuel Vadot			/* reset */
34101950c46SEmmanuel Vadot			AM64X_IOPAD(0x00d4, PIN_OUTPUT, 7) /* PRG1_PRU0_GPO7.GPIO0_52 */
34201950c46SEmmanuel Vadot			/* led0, external pull-down on SoM */
34301950c46SEmmanuel Vadot			AM64X_IOPAD(0x00d8, PIN_INPUT, 7) /* PRG1_PRU0_GPO8.GPIO0_53 */
34401950c46SEmmanuel Vadot			/* led1/rxer */
34501950c46SEmmanuel Vadot			AM64X_IOPAD(0x00cc, PIN_INPUT, 7) /* PRG1_PRU0_GPO5.GPIO0_50 */
34601950c46SEmmanuel Vadot		>;
34701950c46SEmmanuel Vadot	};
34801950c46SEmmanuel Vadot
34901950c46SEmmanuel Vadot	main_i2c0_default_pins: main-i2c0-default-pins {
35001950c46SEmmanuel Vadot		pinctrl-single,pins = <
35101950c46SEmmanuel Vadot			/* external pull-up on SoM */
35201950c46SEmmanuel Vadot			AM64X_IOPAD(0x0260, PIN_INPUT, 0) /* I2C0_SCL.I2C0_SCL */
35301950c46SEmmanuel Vadot			AM64X_IOPAD(0x0264, PIN_INPUT, 0) /* I2C0_SDA.I2C0_SDA */
35401950c46SEmmanuel Vadot		>;
35501950c46SEmmanuel Vadot	};
35601950c46SEmmanuel Vadot
35701950c46SEmmanuel Vadot	/*
35801950c46SEmmanuel Vadot	 * main_mmc0_default_pins: main-mmc0-default-pins
35901950c46SEmmanuel Vadot	 *
36001950c46SEmmanuel Vadot	 * MMC0_CMD: no padconfig
36101950c46SEmmanuel Vadot	 * MMC0_CLK: no padconfig, external pull-up on SoM
36201950c46SEmmanuel Vadot	 * MMC0_DAT0: no padconfig
36301950c46SEmmanuel Vadot	 * MMC0_DAT1: no padconfig
36401950c46SEmmanuel Vadot	 * MMC0_DAT2: no padconfig
36501950c46SEmmanuel Vadot	 * MMC0_DAT3: no padconfig
36601950c46SEmmanuel Vadot	 * MMC0_DAT4: no padconfig
36701950c46SEmmanuel Vadot	 * MMC0_DAT5: no padconfig
36801950c46SEmmanuel Vadot	 * MMC0_DAT6: no padconfig
36901950c46SEmmanuel Vadot	 * MMC0_DAT7: no padconfig
37001950c46SEmmanuel Vadot	 * MMC0_DS: no padconfig, external pull-down on SoM
37101950c46SEmmanuel Vadot	 */
37201950c46SEmmanuel Vadot
37301950c46SEmmanuel Vadot	main_mmc1_default_pins: main-mmc1-default-pins {
37401950c46SEmmanuel Vadot		pinctrl-single,pins = <
37501950c46SEmmanuel Vadot			AM64X_IOPAD(0x0294, PIN_INPUT_PULLUP, 0) /* (J19) MMC1_CMD */
37601950c46SEmmanuel Vadot			AM64X_IOPAD(0x028c, PIN_INPUT, 0) /* MMC1_CLK.MMC1_CLK */
37701950c46SEmmanuel Vadot			AM64X_IOPAD(0x0288, PIN_INPUT_PULLUP, 0) /* MMC1_DAT0.MMC1_DAT0 */
37801950c46SEmmanuel Vadot			AM64X_IOPAD(0x0284, PIN_INPUT_PULLUP, 0) /* MMC1_DAT1.MMC1_DAT1 */
37901950c46SEmmanuel Vadot			AM64X_IOPAD(0x0280, PIN_INPUT_PULLUP, 0) /* MMC1_DAT2.MMC1_DAT2 */
38001950c46SEmmanuel Vadot			AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* MMC1_DAT3.MMC1_DAT3 */
38101950c46SEmmanuel Vadot			/* external pull-down on SoM & Carrier */
38201950c46SEmmanuel Vadot			AM64X_IOPAD(0x0298, PIN_INPUT_PULLUP, 0) /* MMC1_SDCD.MMC1_SDCD */
38301950c46SEmmanuel Vadot			AM64X_IOPAD(0x0290, PIN_INPUT, 0) /* MMC1_CLKLB: clock loopback */
38401950c46SEmmanuel Vadot		>;
38501950c46SEmmanuel Vadot	};
38601950c46SEmmanuel Vadot
38701950c46SEmmanuel Vadot	main_uart0_default_pins: main-uart0-default-pins {
38801950c46SEmmanuel Vadot		pinctrl-single,pins = <
38901950c46SEmmanuel Vadot			AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* UART0_RXD.UART0_RXD */
39001950c46SEmmanuel Vadot			AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* UART0_TXD.UART0_TXD */
39101950c46SEmmanuel Vadot		>;
39201950c46SEmmanuel Vadot	};
39301950c46SEmmanuel Vadot
39401950c46SEmmanuel Vadot	mdio0_default_pins: mdio0-default-pins {
39501950c46SEmmanuel Vadot		pinctrl-single,pins = <
39601950c46SEmmanuel Vadot			AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* PRG0_PRU1_GPO19.MDIO0_MDC */
39701950c46SEmmanuel Vadot			AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* PRG0_PRU1_GPO18.MDIO0_MDIO */
39801950c46SEmmanuel Vadot		>;
39901950c46SEmmanuel Vadot	};
40001950c46SEmmanuel Vadot
40101950c46SEmmanuel Vadot	ospi0_default_pins: ospi0-default-pins {
40201950c46SEmmanuel Vadot		pinctrl-single,pins = <
40301950c46SEmmanuel Vadot			/* external pull-down on SoM */
40401950c46SEmmanuel Vadot			AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* OSPI0_CLK.OSPI0_CLK */
40501950c46SEmmanuel Vadot			AM64X_IOPAD(0x0008, PIN_OUTPUT, 0) /* OSPI0_DQS.OSPI0_DQS */
40601950c46SEmmanuel Vadot			/* external pull-up on SoM */
40701950c46SEmmanuel Vadot			AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* OSPI0_CSn0.OSPI0_CSn0 */
40801950c46SEmmanuel Vadot			AM64X_IOPAD(0x000c, PIN_INPUT, 0) /* OSPI0_D0.OSPI0_D0 */
40901950c46SEmmanuel Vadot			AM64X_IOPAD(0x0010, PIN_INPUT, 0) /* OSPI0_D1.OSPI0_D1 */
41001950c46SEmmanuel Vadot			AM64X_IOPAD(0x0014, PIN_INPUT, 0) /* OSPI0_D2.OSPI0_D2 */
41101950c46SEmmanuel Vadot			AM64X_IOPAD(0x0018, PIN_INPUT, 0) /* OSPI0_D3.OSPI0_D3 */
41201950c46SEmmanuel Vadot			AM64X_IOPAD(0x001c, PIN_INPUT, 0) /* OSPI0_D4.OSPI0_D4 */
41301950c46SEmmanuel Vadot			AM64X_IOPAD(0x0020, PIN_INPUT, 0) /* OSPI0_D5.OSPI0_D5 */
41401950c46SEmmanuel Vadot			AM64X_IOPAD(0x0024, PIN_INPUT, 0) /* OSPI0_D6.OSPI0_D6 */
41501950c46SEmmanuel Vadot			AM64X_IOPAD(0x0028, PIN_INPUT, 0) /* OSPI0_D7.OSPI0_D7 */
41601950c46SEmmanuel Vadot		>;
41701950c46SEmmanuel Vadot	};
41801950c46SEmmanuel Vadot
41901950c46SEmmanuel Vadot	ospi0_flash0_default_pins: ospi0-flash0-default-pins {
42001950c46SEmmanuel Vadot		pinctrl-single,pins = <
42101950c46SEmmanuel Vadot			AM64X_IOPAD(0x0034, PIN_OUTPUT, 7) /* OSPI0_CSn2.GPIO0_13 */
42201950c46SEmmanuel Vadot			AM64X_IOPAD(0x0038, PIN_INPUT, 7) /* OSPI0_CSn3.GPIO0_14 */
42301950c46SEmmanuel Vadot		>;
42401950c46SEmmanuel Vadot	};
42501950c46SEmmanuel Vadot
42601950c46SEmmanuel Vadot	pru1_mdio0_default_pins: pru1-mdio0-default-pins {
42701950c46SEmmanuel Vadot		pinctrl-single,pins = <
42801950c46SEmmanuel Vadot			AM64X_IOPAD(0x015c, PIN_OUTPUT, 0) /* PRG1_MDIO0_MDC.PRG1_MDIO0_MDC */
42901950c46SEmmanuel Vadot			AM64X_IOPAD(0x0158, PIN_INPUT, 0) /* PRG1_MDIO0_MDIO.PRG1_MDIO0_MDIO */
43001950c46SEmmanuel Vadot		>;
43101950c46SEmmanuel Vadot	};
43201950c46SEmmanuel Vadot
43301950c46SEmmanuel Vadot	pru_rgmii1_default_pins: pru-rgmii1-default-pins {
43401950c46SEmmanuel Vadot		pinctrl-single,pins = <
43501950c46SEmmanuel Vadot			AM64X_IOPAD(0x00b8, PIN_INPUT, 2) /* (Y7) PRG1_PRU0_GPO0.PRG1_RGMII1_RD0 */
43601950c46SEmmanuel Vadot			AM64X_IOPAD(0x00bc, PIN_INPUT, 2) /* (U8) PRG1_PRU0_GPO1.PRG1_RGMII1_RD1 */
43701950c46SEmmanuel Vadot			AM64X_IOPAD(0x00c0, PIN_INPUT, 2) /* (W8) PRG1_PRU0_GPO2.PRG1_RGMII1_RD2 */
43801950c46SEmmanuel Vadot			AM64X_IOPAD(0x00c4, PIN_INPUT, 2) /* (V8) PRG1_PRU0_GPO3.PRG1_RGMII1_RD3 */
43901950c46SEmmanuel Vadot			AM64X_IOPAD(0x00d0, PIN_INPUT, 2) /* (AA7) PRG1_PRU0_GPO6.PRG1_RGMII1_RXC */
44001950c46SEmmanuel Vadot			AM64X_IOPAD(0x00c8, PIN_INPUT, 2) /* (Y8) PRG1_PRU0_GPO4.PRG1_RGMII1_RX_CTL */
44101950c46SEmmanuel Vadot			AM64X_IOPAD(0x00e4, PIN_OUTPUT, 2) /* (AA8) PRG1_PRU0_GPO11.PRG1_RGMII1_TD0 */
44201950c46SEmmanuel Vadot			AM64X_IOPAD(0x00e8, PIN_OUTPUT, 2) /* (U9) PRG1_PRU0_GPO12.PRG1_RGMII1_TD1 */
44301950c46SEmmanuel Vadot			AM64X_IOPAD(0x00ec, PIN_OUTPUT, 2) /* (W9) PRG1_PRU0_GPO13.PRG1_RGMII1_TD2 */
44401950c46SEmmanuel Vadot			AM64X_IOPAD(0x00f0, PIN_OUTPUT, 2) /* (AA9) PRG1_PRU0_GPO14.PRG1_RGMII1_TD3 */
44501950c46SEmmanuel Vadot			AM64X_IOPAD(0x00f8, PIN_INPUT, 2) /* (V9) PRG1_PRU0_GPO16.PRG1_RGMII1_TXC */
44601950c46SEmmanuel Vadot			AM64X_IOPAD(0x00f4, PIN_OUTPUT, 2) /* (Y9) PRG1_PRU0_GPO15.PRG1_RGMII1_TX_CTL */
44701950c46SEmmanuel Vadot		>;
44801950c46SEmmanuel Vadot	};
44901950c46SEmmanuel Vadot
45001950c46SEmmanuel Vadot	pru_rgmii2_default_pins: pru-rgmii2-default-pins {
45101950c46SEmmanuel Vadot		pinctrl-single,pins = <
45201950c46SEmmanuel Vadot			AM64X_IOPAD(0x0108, PIN_INPUT, 2) /* PRG1_PRU1_GPO0.RGMII2_RD0 */
45301950c46SEmmanuel Vadot			AM64X_IOPAD(0x010c, PIN_INPUT, 2) /* PRG1_PRU1_GPO1.RGMII2_RD1 */
45401950c46SEmmanuel Vadot			AM64X_IOPAD(0x0110, PIN_INPUT, 2) /* PRG1_PRU1_GPO2.RGMII2_RD2 */
45501950c46SEmmanuel Vadot			AM64X_IOPAD(0x0114, PIN_INPUT, 2) /* PRG1_PRU1_GPO3.RGMII2_RD3 */
45601950c46SEmmanuel Vadot			AM64X_IOPAD(0x0120, PIN_INPUT, 2) /* PRG1_PRU1_GPO6.RGMII2_RXC */
45701950c46SEmmanuel Vadot			AM64X_IOPAD(0x0118, PIN_INPUT, 2) /* PRG1_PRU1_GPO4.RGMII2_RX_CTL */
45801950c46SEmmanuel Vadot			AM64X_IOPAD(0x0134, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO11.RGMII2_TD0 */
45901950c46SEmmanuel Vadot			AM64X_IOPAD(0x0138, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO12.RGMII2_TD1 */
46001950c46SEmmanuel Vadot			AM64X_IOPAD(0x013c, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO13.RGMII2_TD2 */
46101950c46SEmmanuel Vadot			AM64X_IOPAD(0x0140, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO14.RGMII2_TD3 */
46201950c46SEmmanuel Vadot			AM64X_IOPAD(0x0148, PIN_INPUT, 2) /* PRG1_PRU1_GPO16.RGMII2_TXC */
46301950c46SEmmanuel Vadot			AM64X_IOPAD(0x0144, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO15.RGMII2_TX_CTL */
46401950c46SEmmanuel Vadot		>;
46501950c46SEmmanuel Vadot	};
46601950c46SEmmanuel Vadot
46701950c46SEmmanuel Vadot	rgmii1_default_pins: rgmii1-default-pins {
46801950c46SEmmanuel Vadot		pinctrl-single,pins = <
46901950c46SEmmanuel Vadot			AM64X_IOPAD(0x01cc, PIN_INPUT, 4) /* PRG0_PRU1_GPO7.RGMII1_RD0 */
47001950c46SEmmanuel Vadot			AM64X_IOPAD(0x01d4, PIN_INPUT, 4) /* PRG0_PRU1_GPO9.RGMII1_RD1 */
47101950c46SEmmanuel Vadot			AM64X_IOPAD(0x01d8, PIN_INPUT, 4) /* PRG0_PRU1_GPO10.RGMII1_RD2 */
47201950c46SEmmanuel Vadot			AM64X_IOPAD(0x01f4, PIN_INPUT, 4) /* PRG0_PRU1_GPO17.RGMII1_RD3 */
47301950c46SEmmanuel Vadot			AM64X_IOPAD(0x0188, PIN_INPUT, 4) /* PRG0_PRU0_GPO10.RGMII1_RXC */
47401950c46SEmmanuel Vadot			AM64X_IOPAD(0x0184, PIN_INPUT, 4) /* PRG0_PRU0_GPO9.RGMII1_RX_CTL */
47501950c46SEmmanuel Vadot			AM64X_IOPAD(0x0124, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO7.RGMII1_TD0 */
47601950c46SEmmanuel Vadot			AM64X_IOPAD(0x012c, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO9.RGMII1_TD1 */
47701950c46SEmmanuel Vadot			AM64X_IOPAD(0x0130, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO10.RGMII1_TD2 */
47801950c46SEmmanuel Vadot			AM64X_IOPAD(0x014c, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO17.RGMII1_TD3 */
47901950c46SEmmanuel Vadot			AM64X_IOPAD(0x00e0, PIN_INPUT, 4) /* PRG1_PRU0_GPO10.RGMII1_TXC */
48001950c46SEmmanuel Vadot			AM64X_IOPAD(0x00dc, PIN_OUTPUT, 4) /* PRG1_PRU0_GPO9.RGMII1_TX_CTL */
48101950c46SEmmanuel Vadot		>;
48201950c46SEmmanuel Vadot	};
48301950c46SEmmanuel Vadot
48401950c46SEmmanuel Vadot	usb0_default_pins: usb0-default-pins {
48501950c46SEmmanuel Vadot		pinctrl-single,pins = <
48601950c46SEmmanuel Vadot			AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* USB0_DRVVBUS.USB0_DRVVBUS */
48701950c46SEmmanuel Vadot		>;
48801950c46SEmmanuel Vadot	};
48901950c46SEmmanuel Vadot};
49001950c46SEmmanuel Vadot
49101950c46SEmmanuel Vadot&main_r5fss0_core0 {
49201950c46SEmmanuel Vadot	mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>;
49301950c46SEmmanuel Vadot	memory-region = <&main_r5fss0_core0_dma_memory_region>,
49401950c46SEmmanuel Vadot			<&main_r5fss0_core0_memory_region>;
49501950c46SEmmanuel Vadot};
49601950c46SEmmanuel Vadot
49701950c46SEmmanuel Vadot&main_r5fss0_core1 {
49801950c46SEmmanuel Vadot	mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>;
49901950c46SEmmanuel Vadot	memory-region = <&main_r5fss0_core1_dma_memory_region>,
50001950c46SEmmanuel Vadot			<&main_r5fss0_core1_memory_region>;
50101950c46SEmmanuel Vadot};
50201950c46SEmmanuel Vadot
50301950c46SEmmanuel Vadot&main_r5fss1_core0 {
50401950c46SEmmanuel Vadot	mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>;
50501950c46SEmmanuel Vadot	memory-region = <&main_r5fss1_core0_dma_memory_region>,
50601950c46SEmmanuel Vadot			<&main_r5fss1_core0_memory_region>;
50701950c46SEmmanuel Vadot};
50801950c46SEmmanuel Vadot
50901950c46SEmmanuel Vadot&main_r5fss1_core1 {
51001950c46SEmmanuel Vadot	mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>;
51101950c46SEmmanuel Vadot	memory-region = <&main_r5fss1_core1_dma_memory_region>,
51201950c46SEmmanuel Vadot			<&main_r5fss1_core1_memory_region>;
51301950c46SEmmanuel Vadot};
51401950c46SEmmanuel Vadot
51501950c46SEmmanuel Vadot/* SoC default UART console */
51601950c46SEmmanuel Vadot&main_uart0 {
51701950c46SEmmanuel Vadot	pinctrl-names = "default";
51801950c46SEmmanuel Vadot	pinctrl-0 = <&main_uart0_default_pins>;
51901950c46SEmmanuel Vadot	status = "okay";
52001950c46SEmmanuel Vadot};
52101950c46SEmmanuel Vadot
52201950c46SEmmanuel Vadot&ospi0 {
52301950c46SEmmanuel Vadot	pinctrl-names = "default";
52401950c46SEmmanuel Vadot	pinctrl-0 = <&ospi0_default_pins>;
52501950c46SEmmanuel Vadot	num-cs = <1>;
52601950c46SEmmanuel Vadot	status = "okay";
52701950c46SEmmanuel Vadot
52801950c46SEmmanuel Vadot	flash@0 {
52901950c46SEmmanuel Vadot		compatible = "jedec,spi-nor";
53001950c46SEmmanuel Vadot		reg = <0>;
53101950c46SEmmanuel Vadot		pinctrl-names = "default";
53201950c46SEmmanuel Vadot		pinctrl-0 = <&ospi0_flash0_default_pins>;
53301950c46SEmmanuel Vadot		spi-tx-bus-width = <8>;
53401950c46SEmmanuel Vadot		spi-rx-bus-width = <8>;
53501950c46SEmmanuel Vadot		spi-max-frequency = <200000000>;
53601950c46SEmmanuel Vadot		cdns,tshsl-ns = <50>;
53701950c46SEmmanuel Vadot		cdns,tsd2d-ns = <50>;
53801950c46SEmmanuel Vadot		cdns,tchsh-ns = <4>;
53901950c46SEmmanuel Vadot		cdns,tslch-ns = <4>;
54001950c46SEmmanuel Vadot		cdns,read-delay = <0>;
54101950c46SEmmanuel Vadot		interrupt-parent = <&main_gpio0>;
54201950c46SEmmanuel Vadot		interrupts = <14 IRQ_TYPE_LEVEL_LOW>;
54301950c46SEmmanuel Vadot		reset-gpios = <&main_gpio0 13 GPIO_ACTIVE_LOW>;
54401950c46SEmmanuel Vadot	};
54501950c46SEmmanuel Vadot};
54601950c46SEmmanuel Vadot
54701950c46SEmmanuel Vadot&sdhci0 {
54801950c46SEmmanuel Vadot	/* mmc0 pins have no padconfig */
54901950c46SEmmanuel Vadot	bus-width = <8>;
55001950c46SEmmanuel Vadot	ti,driver-strength-ohm = <50>;
55101950c46SEmmanuel Vadot	disable-wp;
55201950c46SEmmanuel Vadot	non-removable;
55301950c46SEmmanuel Vadot	cap-mmc-hw-reset;
55401950c46SEmmanuel Vadot	no-sd;
55501950c46SEmmanuel Vadot	/*
55601950c46SEmmanuel Vadot	 * MMC controller supports switching between 1.8V and 3.3V signalling.
55701950c46SEmmanuel Vadot	 * However MMC0 (unlike MMC1) does not integrate an LDO.
55801950c46SEmmanuel Vadot	 * Explicitly link a regulator node for indicating to the driver which
55901950c46SEmmanuel Vadot	 * voltages are actually usable.
56001950c46SEmmanuel Vadot	 */
56101950c46SEmmanuel Vadot	vqmmc-supply = <&vdd_mmc0>;
56201950c46SEmmanuel Vadot	status = "okay";
56301950c46SEmmanuel Vadot};
56401950c46SEmmanuel Vadot
56501950c46SEmmanuel Vadot/*
56601950c46SEmmanuel Vadot * microSD is on carrier - however since SoC can boot from it,
56701950c46SEmmanuel Vadot * configure it just in case.
56801950c46SEmmanuel Vadot */
56901950c46SEmmanuel Vadot&sdhci1 {
57001950c46SEmmanuel Vadot	pinctrl-names = "default";
57101950c46SEmmanuel Vadot	pinctrl-0 = <&main_mmc1_default_pins>;
57201950c46SEmmanuel Vadot	bus-width = <4>;
57301950c46SEmmanuel Vadot	ti,driver-strength-ohm = <50>;
57401950c46SEmmanuel Vadot	disable-wp;
57501950c46SEmmanuel Vadot	status = "okay";
57601950c46SEmmanuel Vadot};
57701950c46SEmmanuel Vadot
57801950c46SEmmanuel Vadot/*
57901950c46SEmmanuel Vadot * USB settings are a carrier choice - however since SoC can boot from it,
58001950c46SEmmanuel Vadot * configure as USB-2.0 OTG here, keeping USB-3 serdes disabled.
58101950c46SEmmanuel Vadot */
58201950c46SEmmanuel Vadot&usb0 {
58301950c46SEmmanuel Vadot	pinctrl-names = "default";
58401950c46SEmmanuel Vadot	pinctrl-0 = <&usb0_default_pins>;
58501950c46SEmmanuel Vadot	dr_mode = "otg";
58601950c46SEmmanuel Vadot	maximum-speed = "high-speed";
58701950c46SEmmanuel Vadot};
58801950c46SEmmanuel Vadot
58901950c46SEmmanuel Vadot&usbss0 {
59001950c46SEmmanuel Vadot	ti,vbus-divider;
59101950c46SEmmanuel Vadot	ti,usb2-only;
59201950c46SEmmanuel Vadot};
593