xref: /freebsd-src/sys/contrib/device-tree/src/arm64/amlogic/meson-g12b-odroid-go-ultra.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
18bab661aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
28bab661aSEmmanuel Vadot/*
38bab661aSEmmanuel Vadot * Copyright (c) 2022 Neil Armstrong <neil.armstrong@linaro.org>
48bab661aSEmmanuel Vadot */
58bab661aSEmmanuel Vadot
68bab661aSEmmanuel Vadot/dts-v1/;
78bab661aSEmmanuel Vadot
88bab661aSEmmanuel Vadot#include "meson-g12b-s922x.dtsi"
98bab661aSEmmanuel Vadot#include <dt-bindings/input/input.h>
108bab661aSEmmanuel Vadot#include <dt-bindings/leds/common.h>
118bab661aSEmmanuel Vadot#include <dt-bindings/gpio/meson-g12a-gpio.h>
128bab661aSEmmanuel Vadot#include <dt-bindings/sound/meson-g12a-toacodec.h>
138bab661aSEmmanuel Vadot#include <dt-bindings/sound/meson-g12a-tohdmitx.h>
148bab661aSEmmanuel Vadot
158bab661aSEmmanuel Vadot/ {
168bab661aSEmmanuel Vadot	compatible = "hardkernel,odroid-go-ultra", "amlogic,s922x", "amlogic,g12b";
178bab661aSEmmanuel Vadot	model = "Hardkernel ODROID-GO-Ultra";
188bab661aSEmmanuel Vadot
198bab661aSEmmanuel Vadot	aliases {
208bab661aSEmmanuel Vadot		serial0 = &uart_AO;
218bab661aSEmmanuel Vadot		rtc0 = &vrtc;
228bab661aSEmmanuel Vadot	};
238bab661aSEmmanuel Vadot
248bab661aSEmmanuel Vadot	adc-joystick-left {
258bab661aSEmmanuel Vadot		compatible = "adc-joystick";
268bab661aSEmmanuel Vadot		io-channels = <&saradc 2>, <&saradc 3>;
278bab661aSEmmanuel Vadot		poll-interval = <10>;
288bab661aSEmmanuel Vadot		#address-cells = <1>;
298bab661aSEmmanuel Vadot		#size-cells = <0>;
308bab661aSEmmanuel Vadot
318bab661aSEmmanuel Vadot		axis@0 {
328bab661aSEmmanuel Vadot			reg = <0>;
338bab661aSEmmanuel Vadot			linux,code = <ABS_Y>;
348bab661aSEmmanuel Vadot			abs-range = <3150 950>;
358bab661aSEmmanuel Vadot			abs-fuzz = <32>;
368bab661aSEmmanuel Vadot			abs-flat = <64>;
378bab661aSEmmanuel Vadot		};
388bab661aSEmmanuel Vadot		axis@1 {
398bab661aSEmmanuel Vadot			reg = <1>;
408bab661aSEmmanuel Vadot			linux,code = <ABS_X>;
418bab661aSEmmanuel Vadot			abs-range = <700 2900>;
428bab661aSEmmanuel Vadot			abs-fuzz = <32>;
438bab661aSEmmanuel Vadot			abs-flat = <64>;
448bab661aSEmmanuel Vadot		};
458bab661aSEmmanuel Vadot	};
468bab661aSEmmanuel Vadot
478bab661aSEmmanuel Vadot	adc-joystick-right {
488bab661aSEmmanuel Vadot		compatible = "adc-joystick";
498bab661aSEmmanuel Vadot		io-channels = <&saradc 0>, <&saradc 1>;
508bab661aSEmmanuel Vadot		poll-interval = <10>;
518bab661aSEmmanuel Vadot		#address-cells = <1>;
528bab661aSEmmanuel Vadot		#size-cells = <0>;
538bab661aSEmmanuel Vadot
548bab661aSEmmanuel Vadot		axis@0 {
558bab661aSEmmanuel Vadot			reg = <0>;
568bab661aSEmmanuel Vadot			linux,code = <ABS_RY>;
578bab661aSEmmanuel Vadot			abs-range = <3150 950>;
588bab661aSEmmanuel Vadot			abs-fuzz = <32>;
598bab661aSEmmanuel Vadot			abs-flat = <64>;
608bab661aSEmmanuel Vadot		};
618bab661aSEmmanuel Vadot		axis@1 {
628bab661aSEmmanuel Vadot			reg = <1>;
638bab661aSEmmanuel Vadot			linux,code = <ABS_RX>;
648bab661aSEmmanuel Vadot			abs-range = <800 3000>;
658bab661aSEmmanuel Vadot			abs-fuzz = <32>;
668bab661aSEmmanuel Vadot			abs-flat = <64>;
678bab661aSEmmanuel Vadot		};
688bab661aSEmmanuel Vadot	};
698bab661aSEmmanuel Vadot
708bab661aSEmmanuel Vadot	chosen {
718bab661aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
728bab661aSEmmanuel Vadot	};
738bab661aSEmmanuel Vadot
748bab661aSEmmanuel Vadot	codec_clk: codec-clk {
758bab661aSEmmanuel Vadot		compatible = "fixed-clock";
768bab661aSEmmanuel Vadot		clock-frequency = <12288000>;
778bab661aSEmmanuel Vadot		clock-output-names = "codec_clk";
788bab661aSEmmanuel Vadot		#clock-cells = <0>;
798bab661aSEmmanuel Vadot	};
808bab661aSEmmanuel Vadot
818bab661aSEmmanuel Vadot	gpio-keys {
828bab661aSEmmanuel Vadot		compatible = "gpio-keys-polled";
838bab661aSEmmanuel Vadot		poll-interval = <10>;
848bab661aSEmmanuel Vadot		pinctrl-0 = <&keypad_gpio_pins>;
858bab661aSEmmanuel Vadot		pinctrl-names = "default";
868bab661aSEmmanuel Vadot
878bab661aSEmmanuel Vadot		volume-up-button {
888bab661aSEmmanuel Vadot			label = "VOLUME-UP";
898bab661aSEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
908bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_8 GPIO_ACTIVE_LOW>;
918bab661aSEmmanuel Vadot		};
928bab661aSEmmanuel Vadot		volume-down-button {
938bab661aSEmmanuel Vadot			label = "VOLUME-DOWN";
948bab661aSEmmanuel Vadot			linux,code = <KEY_VOLUMEDOWN>;
958bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_9 GPIO_ACTIVE_LOW>;
968bab661aSEmmanuel Vadot		};
978bab661aSEmmanuel Vadot		dpad-up-button {
988bab661aSEmmanuel Vadot			label = "DPAD-UP";
998bab661aSEmmanuel Vadot			linux,code = <BTN_DPAD_UP>;
1008bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_0 GPIO_ACTIVE_LOW>;
1018bab661aSEmmanuel Vadot		};
1028bab661aSEmmanuel Vadot		dpad-down-button {
1038bab661aSEmmanuel Vadot			label = "DPAD-DOWN";
1048bab661aSEmmanuel Vadot			linux,code = <BTN_DPAD_DOWN>;
1058bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_1 GPIO_ACTIVE_LOW>;
1068bab661aSEmmanuel Vadot		};
1078bab661aSEmmanuel Vadot		dpad-left-button {
1088bab661aSEmmanuel Vadot			label = "DPAD-LEFT";
1098bab661aSEmmanuel Vadot			linux,code = <BTN_DPAD_LEFT>;
1108bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_2 GPIO_ACTIVE_LOW>;
1118bab661aSEmmanuel Vadot		};
1128bab661aSEmmanuel Vadot		dpad-right-button {
1138bab661aSEmmanuel Vadot			label = "DPAD-RIGHT";
1148bab661aSEmmanuel Vadot			linux,code = <BTN_DPAD_RIGHT>;
1158bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_3 GPIO_ACTIVE_LOW>;
1168bab661aSEmmanuel Vadot		};
1178bab661aSEmmanuel Vadot		a-button {
1188bab661aSEmmanuel Vadot			label = "A";
1198bab661aSEmmanuel Vadot			linux,code = <BTN_EAST>;
1208bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_4 GPIO_ACTIVE_LOW>;
1218bab661aSEmmanuel Vadot		};
1228bab661aSEmmanuel Vadot		b-button {
1238bab661aSEmmanuel Vadot			label = "B";
1248bab661aSEmmanuel Vadot			linux,code = <BTN_SOUTH>;
1258bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_5 GPIO_ACTIVE_LOW>;
1268bab661aSEmmanuel Vadot		};
1278bab661aSEmmanuel Vadot		y-button {
1288bab661aSEmmanuel Vadot			label = "Y";
1298bab661aSEmmanuel Vadot			linux,code = <BTN_WEST>;
1308bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
1318bab661aSEmmanuel Vadot		};
1328bab661aSEmmanuel Vadot		x-button {
1338bab661aSEmmanuel Vadot			label = "X";
1348bab661aSEmmanuel Vadot			linux,code = <BTN_NORTH>;
1358bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_7 GPIO_ACTIVE_LOW>;
1368bab661aSEmmanuel Vadot		};
1378bab661aSEmmanuel Vadot		f1-button {
1388bab661aSEmmanuel Vadot			label = "F1";
1398bab661aSEmmanuel Vadot			linux,code = <BTN_TRIGGER_HAPPY1>;
1408bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_17 GPIO_ACTIVE_LOW>;
1418bab661aSEmmanuel Vadot		};
1428bab661aSEmmanuel Vadot		f2-button {
1438bab661aSEmmanuel Vadot			label = "F2";
1448bab661aSEmmanuel Vadot			linux,code = <BTN_TRIGGER_HAPPY2>;
1458bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_10 GPIO_ACTIVE_LOW>;
1468bab661aSEmmanuel Vadot		};
1478bab661aSEmmanuel Vadot		f3-button {
1488bab661aSEmmanuel Vadot			label = "F3";
1498bab661aSEmmanuel Vadot			linux,code = <BTN_TRIGGER_HAPPY3>;
1508bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_11 GPIO_ACTIVE_LOW>;
1518bab661aSEmmanuel Vadot		};
1528bab661aSEmmanuel Vadot		f4-button {
1538bab661aSEmmanuel Vadot			label = "F4";
1548bab661aSEmmanuel Vadot			linux,code = <BTN_TRIGGER_HAPPY4>;
1558bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_12 GPIO_ACTIVE_LOW>;
1568bab661aSEmmanuel Vadot		};
1578bab661aSEmmanuel Vadot		f5-button {
1588bab661aSEmmanuel Vadot			label = "F5";
1598bab661aSEmmanuel Vadot			linux,code = <BTN_TRIGGER_HAPPY5>;
1608bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_13 GPIO_ACTIVE_LOW>;
1618bab661aSEmmanuel Vadot		};
1628bab661aSEmmanuel Vadot		f6-button {
1638bab661aSEmmanuel Vadot			label = "F6";
1648bab661aSEmmanuel Vadot			linux,code = <BTN_TRIGGER_HAPPY6>;
1658bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_16 GPIO_ACTIVE_LOW>;
1668bab661aSEmmanuel Vadot		};
1678bab661aSEmmanuel Vadot		top-left-button {
1688bab661aSEmmanuel Vadot			label = "TOP Left";
1698bab661aSEmmanuel Vadot			linux,code = <BTN_TL>;
1708bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_14 GPIO_ACTIVE_LOW>;
1718bab661aSEmmanuel Vadot		};
1728bab661aSEmmanuel Vadot		top-left2-button {
1738bab661aSEmmanuel Vadot			label = "TOP Left 2";
1748bab661aSEmmanuel Vadot			linux,code = <BTN_TL2>;
1758bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_19 GPIO_ACTIVE_LOW>;
1768bab661aSEmmanuel Vadot		};
1778bab661aSEmmanuel Vadot		top-right-button {
1788bab661aSEmmanuel Vadot			label = "TOP Right";
1798bab661aSEmmanuel Vadot			linux,code = <BTN_TR>;
1808bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_15 GPIO_ACTIVE_LOW>;
1818bab661aSEmmanuel Vadot		};
1828bab661aSEmmanuel Vadot		top-right2-button {
1838bab661aSEmmanuel Vadot			label = "TOP Right 2";
1848bab661aSEmmanuel Vadot			linux,code = <BTN_TR2>;
1858bab661aSEmmanuel Vadot			gpios = <&gpio GPIOX_18 GPIO_ACTIVE_LOW>;
1868bab661aSEmmanuel Vadot		};
1878bab661aSEmmanuel Vadot	};
1888bab661aSEmmanuel Vadot
1898bab661aSEmmanuel Vadot	memory@0 {
1908bab661aSEmmanuel Vadot		device_type = "memory";
1918bab661aSEmmanuel Vadot		reg = <0x0 0x0 0x0 0x40000000>;
1928bab661aSEmmanuel Vadot	};
1938bab661aSEmmanuel Vadot
1948bab661aSEmmanuel Vadot	emmc_pwrseq: emmc-pwrseq {
1958bab661aSEmmanuel Vadot		compatible = "mmc-pwrseq-emmc";
1968bab661aSEmmanuel Vadot		reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
1978bab661aSEmmanuel Vadot	};
1988bab661aSEmmanuel Vadot
1998bab661aSEmmanuel Vadot	leds {
2008bab661aSEmmanuel Vadot		compatible = "gpio-leds";
2018bab661aSEmmanuel Vadot
2028bab661aSEmmanuel Vadot		led-blue {
2038bab661aSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
2048bab661aSEmmanuel Vadot			gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
2058bab661aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
2068bab661aSEmmanuel Vadot		};
2078bab661aSEmmanuel Vadot	};
2088bab661aSEmmanuel Vadot
2098bab661aSEmmanuel Vadot	vdd_sys: regulator-vdd-sys {
2108bab661aSEmmanuel Vadot		compatible = "regulator-fixed";
2118bab661aSEmmanuel Vadot		regulator-name = "VDD_SYS";
2128bab661aSEmmanuel Vadot		regulator-min-microvolt = <3800000>;
2138bab661aSEmmanuel Vadot		regulator-max-microvolt = <3800000>;
2148bab661aSEmmanuel Vadot		regulator-always-on;
2158bab661aSEmmanuel Vadot	};
2168bab661aSEmmanuel Vadot
2178bab661aSEmmanuel Vadot	sound {
2188bab661aSEmmanuel Vadot		compatible = "amlogic,axg-sound-card";
2198bab661aSEmmanuel Vadot		model = "Odroid GO Ultra";
2208bab661aSEmmanuel Vadot		audio-widgets = "Microphone", "Mic Jack",
2218bab661aSEmmanuel Vadot				"Headphone", "Headphones",
2228bab661aSEmmanuel Vadot				"Speaker", "Internal Speakers";
2238bab661aSEmmanuel Vadot		audio-aux-devs = <&tdmout_b>, <&tdmin_b>, <&speaker_amp>;
2248bab661aSEmmanuel Vadot		audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
2258bab661aSEmmanuel Vadot				"TDM_B Playback", "TDMOUT_B OUT",
2268bab661aSEmmanuel Vadot				"TDMIN_B IN 1", "TDM_B Capture",
2278bab661aSEmmanuel Vadot				"TDMIN_B IN 4", "TDM_B Loopback",
2288bab661aSEmmanuel Vadot				"TODDR_A IN 1", "TDMIN_B OUT",
2298bab661aSEmmanuel Vadot				"MICL", "Mic Jack",
2308bab661aSEmmanuel Vadot				"Headphones", "HPOL",
2318bab661aSEmmanuel Vadot				"Headphones", "HPOR",
2328bab661aSEmmanuel Vadot				"Speaker Amplifier INL", "HPOL",
2338bab661aSEmmanuel Vadot				"Speaker Amplifier INR", "HPOR",
2348bab661aSEmmanuel Vadot				"Internal Speakers", "Speaker Amplifier OUTL",
2358bab661aSEmmanuel Vadot				"Internal Speakers", "Speaker Amplifier OUTR";
2368bab661aSEmmanuel Vadot
237*b2d2a78aSEmmanuel Vadot		clocks = <&clkc CLKID_MPLL2>,
238*b2d2a78aSEmmanuel Vadot			 <&clkc CLKID_MPLL0>,
239*b2d2a78aSEmmanuel Vadot			 <&clkc CLKID_MPLL1>;
240*b2d2a78aSEmmanuel Vadot
2418bab661aSEmmanuel Vadot		assigned-clocks = <&clkc CLKID_MPLL2>,
2428bab661aSEmmanuel Vadot				  <&clkc CLKID_MPLL0>,
2438bab661aSEmmanuel Vadot				  <&clkc CLKID_MPLL1>;
2448bab661aSEmmanuel Vadot		assigned-clock-parents = <0>, <0>, <0>;
2458bab661aSEmmanuel Vadot		assigned-clock-rates = <294912000>,
2468bab661aSEmmanuel Vadot				       <270950400>,
2478bab661aSEmmanuel Vadot				       <393216000>;
2488bab661aSEmmanuel Vadot
2498bab661aSEmmanuel Vadot		dai-link-0 {
2508bab661aSEmmanuel Vadot			sound-dai = <&frddr_a>;
2518bab661aSEmmanuel Vadot		};
2528bab661aSEmmanuel Vadot
2538bab661aSEmmanuel Vadot		dai-link-1 {
2548bab661aSEmmanuel Vadot			sound-dai = <&toddr_a>;
2558bab661aSEmmanuel Vadot		};
2568bab661aSEmmanuel Vadot
2578bab661aSEmmanuel Vadot		dai-link-2 {
2588bab661aSEmmanuel Vadot			sound-dai = <&tdmif_b>;
2598bab661aSEmmanuel Vadot			dai-format = "i2s";
2608bab661aSEmmanuel Vadot			dai-tdm-slot-tx-mask-0 = <1 1>;
2618bab661aSEmmanuel Vadot			mclk-fs = <256>;
2628bab661aSEmmanuel Vadot
2638bab661aSEmmanuel Vadot			codec-0 {
2648bab661aSEmmanuel Vadot				sound-dai = <&rk817>;
2658bab661aSEmmanuel Vadot			};
2668bab661aSEmmanuel Vadot		};
2678bab661aSEmmanuel Vadot	};
2688bab661aSEmmanuel Vadot
2698bab661aSEmmanuel Vadot	speaker_amp: speaker-amplifier {
2708bab661aSEmmanuel Vadot		compatible = "simple-audio-amplifier";
2718bab661aSEmmanuel Vadot		sound-name-prefix = "Speaker Amplifier";
2728bab661aSEmmanuel Vadot		VCC-supply = <&hp_5v>;
2738bab661aSEmmanuel Vadot	};
2748bab661aSEmmanuel Vadot};
2758bab661aSEmmanuel Vadot
2768bab661aSEmmanuel Vadot&arb {
2778bab661aSEmmanuel Vadot	status = "okay";
2788bab661aSEmmanuel Vadot};
2798bab661aSEmmanuel Vadot
2808bab661aSEmmanuel Vadot&cpu0 {
2818bab661aSEmmanuel Vadot	cpu-supply = <&vddcpu_b>;
2828bab661aSEmmanuel Vadot	operating-points-v2 = <&cpu_opp_table_0>;
2838bab661aSEmmanuel Vadot	clocks = <&clkc CLKID_CPU_CLK>;
2848bab661aSEmmanuel Vadot	clock-latency = <50000>;
2858bab661aSEmmanuel Vadot};
2868bab661aSEmmanuel Vadot
2878bab661aSEmmanuel Vadot&cpu1 {
2888bab661aSEmmanuel Vadot	cpu-supply = <&vddcpu_b>;
2898bab661aSEmmanuel Vadot	operating-points-v2 = <&cpu_opp_table_0>;
2908bab661aSEmmanuel Vadot	clocks = <&clkc CLKID_CPU_CLK>;
2918bab661aSEmmanuel Vadot	clock-latency = <50000>;
2928bab661aSEmmanuel Vadot};
2938bab661aSEmmanuel Vadot
2948bab661aSEmmanuel Vadot&cpu100 {
2958bab661aSEmmanuel Vadot	cpu-supply = <&vddcpu_a>;
2968bab661aSEmmanuel Vadot	operating-points-v2 = <&cpub_opp_table_1>;
2978bab661aSEmmanuel Vadot	clocks = <&clkc CLKID_CPUB_CLK>;
2988bab661aSEmmanuel Vadot	clock-latency = <50000>;
2998bab661aSEmmanuel Vadot};
3008bab661aSEmmanuel Vadot
3018bab661aSEmmanuel Vadot&cpu101 {
3028bab661aSEmmanuel Vadot	cpu-supply = <&vddcpu_a>;
3038bab661aSEmmanuel Vadot	operating-points-v2 = <&cpub_opp_table_1>;
3048bab661aSEmmanuel Vadot	clocks = <&clkc CLKID_CPUB_CLK>;
3058bab661aSEmmanuel Vadot	clock-latency = <50000>;
3068bab661aSEmmanuel Vadot};
3078bab661aSEmmanuel Vadot
3088bab661aSEmmanuel Vadot&cpu102 {
3098bab661aSEmmanuel Vadot	cpu-supply = <&vddcpu_a>;
3108bab661aSEmmanuel Vadot	operating-points-v2 = <&cpub_opp_table_1>;
3118bab661aSEmmanuel Vadot	clocks = <&clkc CLKID_CPUB_CLK>;
3128bab661aSEmmanuel Vadot	clock-latency = <50000>;
3138bab661aSEmmanuel Vadot};
3148bab661aSEmmanuel Vadot
3158bab661aSEmmanuel Vadot&cpu103 {
3168bab661aSEmmanuel Vadot	cpu-supply = <&vddcpu_a>;
3178bab661aSEmmanuel Vadot	operating-points-v2 = <&cpub_opp_table_1>;
3188bab661aSEmmanuel Vadot	clocks = <&clkc CLKID_CPUB_CLK>;
3198bab661aSEmmanuel Vadot	clock-latency = <50000>;
3208bab661aSEmmanuel Vadot};
3218bab661aSEmmanuel Vadot
3228bab661aSEmmanuel Vadot/* RK817 only supports 12.5mV steps, round up the values */
3238bab661aSEmmanuel Vadot&cpu_opp_table_0 {
3248bab661aSEmmanuel Vadot	opp-1000000000 {
3258bab661aSEmmanuel Vadot		opp-microvolt = <737500>;
3268bab661aSEmmanuel Vadot	};
3278bab661aSEmmanuel Vadot	opp-1200000000 {
3288bab661aSEmmanuel Vadot		opp-microvolt = <737500>;
3298bab661aSEmmanuel Vadot	};
3308bab661aSEmmanuel Vadot	opp-1398000000 {
3318bab661aSEmmanuel Vadot		opp-microvolt = <762500>;
3328bab661aSEmmanuel Vadot	};
3338bab661aSEmmanuel Vadot	opp-1512000000 {
3348bab661aSEmmanuel Vadot		opp-microvolt = <800000>;
3358bab661aSEmmanuel Vadot	};
3368bab661aSEmmanuel Vadot	opp-1608000000 {
3378bab661aSEmmanuel Vadot		opp-microvolt = <837500>;
3388bab661aSEmmanuel Vadot	};
3398bab661aSEmmanuel Vadot	opp-1704000000 {
3408bab661aSEmmanuel Vadot		opp-microvolt = <862500>;
3418bab661aSEmmanuel Vadot	};
3428bab661aSEmmanuel Vadot	opp-1896000000 {
3438bab661aSEmmanuel Vadot		opp-microvolt = <987500>;
3448bab661aSEmmanuel Vadot	};
3458bab661aSEmmanuel Vadot	opp-1992000000 {
3468bab661aSEmmanuel Vadot		opp-microvolt = <1012500>;
3478bab661aSEmmanuel Vadot	};
3488bab661aSEmmanuel Vadot};
3498bab661aSEmmanuel Vadot
3508bab661aSEmmanuel Vadot/* RK818 only supports 12.5mV steps, round up the values */
3518bab661aSEmmanuel Vadot&cpub_opp_table_1 {
3528bab661aSEmmanuel Vadot	opp-1000000000 {
3538bab661aSEmmanuel Vadot		opp-microvolt = <775000>;
3548bab661aSEmmanuel Vadot	};
3558bab661aSEmmanuel Vadot	opp-1200000000 {
3568bab661aSEmmanuel Vadot		opp-microvolt = <775000>;
3578bab661aSEmmanuel Vadot	};
3588bab661aSEmmanuel Vadot	opp-1398000000 {
3598bab661aSEmmanuel Vadot		opp-microvolt = <800000>;
3608bab661aSEmmanuel Vadot	};
3618bab661aSEmmanuel Vadot	opp-1512000000 {
3628bab661aSEmmanuel Vadot		opp-microvolt = <825000>;
3638bab661aSEmmanuel Vadot	};
3648bab661aSEmmanuel Vadot	opp-1608000000 {
3658bab661aSEmmanuel Vadot		opp-microvolt = <862500>;
3668bab661aSEmmanuel Vadot	};
3678bab661aSEmmanuel Vadot	opp-1704000000 {
3688bab661aSEmmanuel Vadot		opp-microvolt = <900000>;
3698bab661aSEmmanuel Vadot	};
3708bab661aSEmmanuel Vadot	opp-1800000000 {
3718bab661aSEmmanuel Vadot		opp-microvolt = <987500>;
3728bab661aSEmmanuel Vadot	};
3738bab661aSEmmanuel Vadot	opp-1908000000 {
3748bab661aSEmmanuel Vadot		opp-microvolt = <1025000>;
3758bab661aSEmmanuel Vadot	};
3768bab661aSEmmanuel Vadot};
3778bab661aSEmmanuel Vadot
3788bab661aSEmmanuel Vadot&i2c_AO {
3798bab661aSEmmanuel Vadot	status = "okay";
3808bab661aSEmmanuel Vadot	pinctrl-0 = <&i2c_ao_sck_pins>, <&i2c_ao_sda_pins>;
3818bab661aSEmmanuel Vadot	pinctrl-names = "default";
3828bab661aSEmmanuel Vadot
3838bab661aSEmmanuel Vadot	rk818: pmic@1c {
3848bab661aSEmmanuel Vadot		compatible = "rockchip,rk818";
3858bab661aSEmmanuel Vadot		reg = <0x1c>;
3868bab661aSEmmanuel Vadot		interrupt-parent = <&gpio_intc>;
387aa1a8ff2SEmmanuel Vadot		interrupts = <IRQID_GPIOAO_7 IRQ_TYPE_LEVEL_LOW>; /* GPIOAO_7 */
388cb7aa33aSEmmanuel Vadot		#clock-cells = <1>;
3898bab661aSEmmanuel Vadot
3908bab661aSEmmanuel Vadot		vcc1-supply = <&vdd_sys>;
3918bab661aSEmmanuel Vadot		vcc2-supply = <&vdd_sys>;
3928bab661aSEmmanuel Vadot		vcc3-supply = <&vdd_sys>;
3938bab661aSEmmanuel Vadot		vcc4-supply = <&vdd_sys>;
3948bab661aSEmmanuel Vadot		vcc6-supply = <&vdd_sys>;
3958bab661aSEmmanuel Vadot		vcc7-supply = <&vcc_2v3>;
3968bab661aSEmmanuel Vadot		vcc8-supply = <&vcc_2v3>;
3978bab661aSEmmanuel Vadot		vcc9-supply = <&vddao_3v3>;
3988bab661aSEmmanuel Vadot		boost-supply = <&vdd_sys>;
3998bab661aSEmmanuel Vadot
4008bab661aSEmmanuel Vadot		regulators {
4018bab661aSEmmanuel Vadot			vddcpu_a: DCDC_REG1 {
4028bab661aSEmmanuel Vadot				regulator-name = "vddcpu_a";
4038bab661aSEmmanuel Vadot				regulator-always-on;
4048bab661aSEmmanuel Vadot				regulator-boot-on;
4058bab661aSEmmanuel Vadot				regulator-min-microvolt = <775000>;
4068bab661aSEmmanuel Vadot				regulator-max-microvolt = <1025000>;
4078bab661aSEmmanuel Vadot				regulator-ramp-delay = <6001>;
4088bab661aSEmmanuel Vadot				regulator-state-mem {
4098bab661aSEmmanuel Vadot					regulator-on-in-suspend;
4108bab661aSEmmanuel Vadot					regulator-suspend-microvolt = <775000>;
4118bab661aSEmmanuel Vadot				};
4128bab661aSEmmanuel Vadot			};
4138bab661aSEmmanuel Vadot
4148bab661aSEmmanuel Vadot			vdd_ee: DCDC_REG2 {
4158bab661aSEmmanuel Vadot				regulator-name = "vdd_ee";
4168bab661aSEmmanuel Vadot				regulator-always-on;
4178bab661aSEmmanuel Vadot				regulator-boot-on;
4188bab661aSEmmanuel Vadot				regulator-min-microvolt = <875000>;
4198bab661aSEmmanuel Vadot				regulator-max-microvolt = <1250000>;
4208bab661aSEmmanuel Vadot				regulator-ramp-delay = <6001>;
4218bab661aSEmmanuel Vadot				regulator-state-mem {
4228bab661aSEmmanuel Vadot					regulator-on-in-suspend;
4238bab661aSEmmanuel Vadot					regulator-suspend-microvolt = <875000>;
4248bab661aSEmmanuel Vadot				};
4258bab661aSEmmanuel Vadot			};
4268bab661aSEmmanuel Vadot
4278bab661aSEmmanuel Vadot			vddq_1v1: DCDC_REG3 {
4288bab661aSEmmanuel Vadot				regulator-name = "vddq_1v1";
4298bab661aSEmmanuel Vadot				regulator-always-on;
4308bab661aSEmmanuel Vadot				regulator-boot-on;
4318bab661aSEmmanuel Vadot				regulator-state-mem {
4328bab661aSEmmanuel Vadot					regulator-on-in-suspend;
4338bab661aSEmmanuel Vadot				};
4348bab661aSEmmanuel Vadot			};
4358bab661aSEmmanuel Vadot
4368bab661aSEmmanuel Vadot			vddao_3v3: DCDC_REG4 {
4378bab661aSEmmanuel Vadot				regulator-always-on;
4388bab661aSEmmanuel Vadot				regulator-boot-on;
4398bab661aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
4408bab661aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
4418bab661aSEmmanuel Vadot				regulator-name = "vddao_3v3";
4428bab661aSEmmanuel Vadot				regulator-state-mem {
4438bab661aSEmmanuel Vadot					regulator-on-in-suspend;
4448bab661aSEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
4458bab661aSEmmanuel Vadot				};
4468bab661aSEmmanuel Vadot			};
4478bab661aSEmmanuel Vadot
4488bab661aSEmmanuel Vadot			hp_5v: DCDC_BOOST {
4498bab661aSEmmanuel Vadot				regulator-always-on;
4508bab661aSEmmanuel Vadot				regulator-boot-on;
4518bab661aSEmmanuel Vadot				regulator-name = "hp_5v";
4528bab661aSEmmanuel Vadot				regulator-min-microvolt = <5000000>;
4538bab661aSEmmanuel Vadot				regulator-max-microvolt = <5000000>;
4548bab661aSEmmanuel Vadot				regulator-state-mem {
4558bab661aSEmmanuel Vadot					regulator-off-in-suspend;
4568bab661aSEmmanuel Vadot				};
4578bab661aSEmmanuel Vadot			};
4588bab661aSEmmanuel Vadot
4598bab661aSEmmanuel Vadot			vddio_ao1v8: LDO_REG5 {
4608bab661aSEmmanuel Vadot				regulator-always-on;
4618bab661aSEmmanuel Vadot				regulator-boot-on;
4628bab661aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
4638bab661aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
4648bab661aSEmmanuel Vadot				regulator-name = "vddio_ao1v8";
4658bab661aSEmmanuel Vadot				regulator-state-mem {
4668bab661aSEmmanuel Vadot					regulator-on-in-suspend;
4678bab661aSEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
4688bab661aSEmmanuel Vadot				};
4698bab661aSEmmanuel Vadot			};
4708bab661aSEmmanuel Vadot
4718bab661aSEmmanuel Vadot			vddq_1v8: LDO_REG7 {
4728bab661aSEmmanuel Vadot				regulator-always-on;
4738bab661aSEmmanuel Vadot				regulator-boot-on;
4748bab661aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
4758bab661aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
4768bab661aSEmmanuel Vadot				regulator-name = "vddq_1v8";
4778bab661aSEmmanuel Vadot				regulator-state-mem {
4788bab661aSEmmanuel Vadot					regulator-on-in-suspend;
4798bab661aSEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
4808bab661aSEmmanuel Vadot				};
4818bab661aSEmmanuel Vadot			};
4828bab661aSEmmanuel Vadot
4838bab661aSEmmanuel Vadot			vddio_c: LDO_REG9 {
4848bab661aSEmmanuel Vadot				regulator-always-on;
4858bab661aSEmmanuel Vadot				regulator-boot-on;
4868bab661aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
4878bab661aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
4888bab661aSEmmanuel Vadot				regulator-name = "vddio_c";
4898bab661aSEmmanuel Vadot				regulator-state-mem {
4908bab661aSEmmanuel Vadot					regulator-on-in-suspend;
4918bab661aSEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
4928bab661aSEmmanuel Vadot				};
4938bab661aSEmmanuel Vadot			};
4948bab661aSEmmanuel Vadot
4958bab661aSEmmanuel Vadot			vcc_sd: SWITCH_REG {
4968bab661aSEmmanuel Vadot				regulator-name = "vcc_sd";
4978bab661aSEmmanuel Vadot				regulator-always-on;
4988bab661aSEmmanuel Vadot				regulator-boot-on;
4998bab661aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
5008bab661aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
5018bab661aSEmmanuel Vadot				regulator-state-mem {
5028bab661aSEmmanuel Vadot					regulator-on-in-suspend;
5038bab661aSEmmanuel Vadot				};
5048bab661aSEmmanuel Vadot			};
5058bab661aSEmmanuel Vadot
5068bab661aSEmmanuel Vadot			OTG_SWITCH {
5078bab661aSEmmanuel Vadot				regulator-name = "otg_switch";
5088bab661aSEmmanuel Vadot				regulator-state-mem {
5098bab661aSEmmanuel Vadot					regulator-off-in-suspend;
5108bab661aSEmmanuel Vadot				};
5118bab661aSEmmanuel Vadot			};
5128bab661aSEmmanuel Vadot		};
5138bab661aSEmmanuel Vadot	};
5148bab661aSEmmanuel Vadot};
5158bab661aSEmmanuel Vadot
5168bab661aSEmmanuel Vadot&i2c3 {
5178bab661aSEmmanuel Vadot	status = "okay";
5188bab661aSEmmanuel Vadot	pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
5198bab661aSEmmanuel Vadot	pinctrl-names = "default";
5208bab661aSEmmanuel Vadot
5218bab661aSEmmanuel Vadot	rk817: pmic@20 {
5228bab661aSEmmanuel Vadot		compatible = "rockchip,rk817";
5238bab661aSEmmanuel Vadot		reg = <0x20>;
5248bab661aSEmmanuel Vadot		interrupt-parent = <&gpio_intc>;
5258bab661aSEmmanuel Vadot
526aa1a8ff2SEmmanuel Vadot		interrupts = <IRQID_GPIOAO_5 IRQ_TYPE_LEVEL_LOW>; /* GPIOAO_5 */
5278bab661aSEmmanuel Vadot
5288bab661aSEmmanuel Vadot		vcc1-supply = <&vdd_sys>;
5298bab661aSEmmanuel Vadot		vcc2-supply = <&vdd_sys>;
5308bab661aSEmmanuel Vadot		vcc3-supply = <&vdd_sys>;
5318bab661aSEmmanuel Vadot		vcc4-supply = <&vdd_sys>;
5328bab661aSEmmanuel Vadot		vcc5-supply = <&vdd_sys>;
5338bab661aSEmmanuel Vadot		vcc6-supply = <&vdd_sys>;
5348bab661aSEmmanuel Vadot		vcc7-supply = <&vdd_sys>;
5358bab661aSEmmanuel Vadot		vcc8-supply = <&vdd_sys>;
5368bab661aSEmmanuel Vadot		vcc9-supply = <&rk817_boost>;
5378bab661aSEmmanuel Vadot
5388bab661aSEmmanuel Vadot		#sound-dai-cells = <0>;
5398bab661aSEmmanuel Vadot		clocks = <&codec_clk>;
5408bab661aSEmmanuel Vadot		clock-names = "mclk";
5418bab661aSEmmanuel Vadot
5428bab661aSEmmanuel Vadot		#clock-cells = <1>;
5438bab661aSEmmanuel Vadot
5448bab661aSEmmanuel Vadot		regulators {
5458bab661aSEmmanuel Vadot			vddcpu_b: DCDC_REG2 {
5468bab661aSEmmanuel Vadot				regulator-always-on;
5478bab661aSEmmanuel Vadot				regulator-boot-on;
5488bab661aSEmmanuel Vadot				regulator-min-microvolt = <737500>;
5498bab661aSEmmanuel Vadot				regulator-max-microvolt = <1012500>;
5508bab661aSEmmanuel Vadot				regulator-ramp-delay = <6001>;
5518bab661aSEmmanuel Vadot				regulator-initial-mode = <0x2>;
5528bab661aSEmmanuel Vadot				regulator-name = "vddcpu_b";
5538bab661aSEmmanuel Vadot				regulator-state-mem {
5548bab661aSEmmanuel Vadot					regulator-on-in-suspend;
5558bab661aSEmmanuel Vadot					regulator-suspend-microvolt = <1000000>;
5568bab661aSEmmanuel Vadot				};
5578bab661aSEmmanuel Vadot			};
5588bab661aSEmmanuel Vadot
5598bab661aSEmmanuel Vadot			vcc_2v3: DCDC_REG3 {
5608bab661aSEmmanuel Vadot				regulator-always-on;
5618bab661aSEmmanuel Vadot				regulator-boot-on;
5628bab661aSEmmanuel Vadot				regulator-min-microvolt = <2300000>;
5638bab661aSEmmanuel Vadot				regulator-max-microvolt = <2400000>;
5648bab661aSEmmanuel Vadot				regulator-initial-mode = <0x2>;
5658bab661aSEmmanuel Vadot				regulator-name = "vcc_2v3";
5668bab661aSEmmanuel Vadot				regulator-state-mem {
5678bab661aSEmmanuel Vadot					regulator-on-in-suspend;
5688bab661aSEmmanuel Vadot				};
5698bab661aSEmmanuel Vadot			};
5708bab661aSEmmanuel Vadot
5718bab661aSEmmanuel Vadot			LDO_REG4 {
5728bab661aSEmmanuel Vadot				regulator-always-on;
5738bab661aSEmmanuel Vadot				regulator-boot-on;
5748bab661aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
5758bab661aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
5768bab661aSEmmanuel Vadot				regulator-name = "vdd_codec";
5778bab661aSEmmanuel Vadot				regulator-state-mem {
5788bab661aSEmmanuel Vadot					regulator-off-in-suspend;
5798bab661aSEmmanuel Vadot				};
5808bab661aSEmmanuel Vadot			};
5818bab661aSEmmanuel Vadot
5828bab661aSEmmanuel Vadot			vcc_lcd: LDO_REG8 {
5838bab661aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
5848bab661aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
5858bab661aSEmmanuel Vadot				regulator-name = "vcc_lcd";
5868bab661aSEmmanuel Vadot				regulator-state-mem {
5878bab661aSEmmanuel Vadot					regulator-off-in-suspend;
5888bab661aSEmmanuel Vadot				};
5898bab661aSEmmanuel Vadot			};
5908bab661aSEmmanuel Vadot
5918bab661aSEmmanuel Vadot			rk817_boost: BOOST {
5928bab661aSEmmanuel Vadot				regulator-always-on;
5938bab661aSEmmanuel Vadot				regulator-boot-on;
5948bab661aSEmmanuel Vadot				regulator-min-microvolt = <5000000>;
5958bab661aSEmmanuel Vadot				regulator-max-microvolt = <5400000>;
5968bab661aSEmmanuel Vadot				regulator-name = "rk817_boost";
5978bab661aSEmmanuel Vadot				regulator-state-mem {
5988bab661aSEmmanuel Vadot					regulator-off-in-suspend;
5998bab661aSEmmanuel Vadot				};
6008bab661aSEmmanuel Vadot			};
6018bab661aSEmmanuel Vadot
6028bab661aSEmmanuel Vadot			usb_host: OTG_SWITCH {
6038bab661aSEmmanuel Vadot				regulator-name = "usb_host";
6048bab661aSEmmanuel Vadot				regulator-min-microvolt = <5000000>;
6058bab661aSEmmanuel Vadot				regulator-max-microvolt = <5000000>;
6068bab661aSEmmanuel Vadot				regulator-state-mem {
6078bab661aSEmmanuel Vadot					regulator-off-in-suspend;
6088bab661aSEmmanuel Vadot				};
6098bab661aSEmmanuel Vadot			};
6108bab661aSEmmanuel Vadot		};
6118bab661aSEmmanuel Vadot	};
6128bab661aSEmmanuel Vadot};
6138bab661aSEmmanuel Vadot
6148bab661aSEmmanuel Vadot&clkc_audio {
6158bab661aSEmmanuel Vadot	status = "okay";
6168bab661aSEmmanuel Vadot};
6178bab661aSEmmanuel Vadot
6188bab661aSEmmanuel Vadot&eth_phy {
6198bab661aSEmmanuel Vadot	status = "disabled";
6208bab661aSEmmanuel Vadot};
6218bab661aSEmmanuel Vadot
6228bab661aSEmmanuel Vadot&frddr_a {
6238bab661aSEmmanuel Vadot	status = "okay";
6248bab661aSEmmanuel Vadot};
6258bab661aSEmmanuel Vadot
6268bab661aSEmmanuel Vadot&periphs_pinctrl {
627fac71e4eSEmmanuel Vadot	keypad_gpio_pins: keypad-gpio-state {
6288bab661aSEmmanuel Vadot		mux {
6298bab661aSEmmanuel Vadot			groups = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3",
6308bab661aSEmmanuel Vadot			         "GPIOX_4", "GPIOX_5", "GPIOX_6", "GPIOX_7",
6318bab661aSEmmanuel Vadot				 "GPIOX_8", "GPIOX_9", "GPIOX_10", "GPIOX_11",
6328bab661aSEmmanuel Vadot				 "GPIOX_12", "GPIOX_13", "GPIOX_14",  "GPIOX_15",
6338bab661aSEmmanuel Vadot				 "GPIOX_16", "GPIOX_17", "GPIOX_18",  "GPIOX_19";
6348bab661aSEmmanuel Vadot			function = "gpio_periphs";
6358bab661aSEmmanuel Vadot			bias-pull-up;
6368bab661aSEmmanuel Vadot			output-disable;
6378bab661aSEmmanuel Vadot		};
6388bab661aSEmmanuel Vadot	};
6398bab661aSEmmanuel Vadot};
6408bab661aSEmmanuel Vadot
6418bab661aSEmmanuel Vadot&saradc {
6428bab661aSEmmanuel Vadot	status = "okay";
6438bab661aSEmmanuel Vadot	vref-supply = <&vddio_ao1v8>;
6448bab661aSEmmanuel Vadot};
6458bab661aSEmmanuel Vadot
6468bab661aSEmmanuel Vadot/* SD card */
6478bab661aSEmmanuel Vadot&sd_emmc_b {
6488bab661aSEmmanuel Vadot	status = "okay";
6498bab661aSEmmanuel Vadot	pinctrl-0 = <&sdcard_c_pins>;
6508bab661aSEmmanuel Vadot	pinctrl-1 = <&sdcard_clk_gate_c_pins>;
6518bab661aSEmmanuel Vadot	pinctrl-names = "default", "clk-gate";
6528bab661aSEmmanuel Vadot
6538bab661aSEmmanuel Vadot	bus-width = <4>;
6548bab661aSEmmanuel Vadot	cap-sd-highspeed;
6558bab661aSEmmanuel Vadot	max-frequency = <50000000>;
6568bab661aSEmmanuel Vadot	disable-wp;
6578bab661aSEmmanuel Vadot
6588bab661aSEmmanuel Vadot	cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
6598bab661aSEmmanuel Vadot	vmmc-supply = <&vcc_sd>;
6608bab661aSEmmanuel Vadot	vqmmc-supply = <&vddio_c>;
6618bab661aSEmmanuel Vadot
6628bab661aSEmmanuel Vadot};
6638bab661aSEmmanuel Vadot
6648bab661aSEmmanuel Vadot/* eMMC */
6658bab661aSEmmanuel Vadot&sd_emmc_c {
6668bab661aSEmmanuel Vadot	status = "okay";
6678bab661aSEmmanuel Vadot	pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
6688bab661aSEmmanuel Vadot	pinctrl-1 = <&emmc_clk_gate_pins>;
6698bab661aSEmmanuel Vadot	pinctrl-names = "default", "clk-gate";
6708bab661aSEmmanuel Vadot
6718bab661aSEmmanuel Vadot	bus-width = <8>;
6728bab661aSEmmanuel Vadot	cap-mmc-highspeed;
6738bab661aSEmmanuel Vadot	mmc-ddr-1_8v;
6748bab661aSEmmanuel Vadot	mmc-hs200-1_8v;
6758bab661aSEmmanuel Vadot	max-frequency = <200000000>;
6768bab661aSEmmanuel Vadot	disable-wp;
6778bab661aSEmmanuel Vadot
6788bab661aSEmmanuel Vadot	mmc-pwrseq = <&emmc_pwrseq>;
6798bab661aSEmmanuel Vadot	vmmc-supply = <&vcc_sd>;
6808bab661aSEmmanuel Vadot	vqmmc-supply = <&vddio_ao1v8>;
6818bab661aSEmmanuel Vadot};
6828bab661aSEmmanuel Vadot
6838bab661aSEmmanuel Vadot
6848bab661aSEmmanuel Vadot&tdmif_b {
6858bab661aSEmmanuel Vadot	pinctrl-0 = <&tdm_b_dout0_pins>, <&tdm_b_fs_pins>, <&tdm_b_sclk_pins>, <&tdm_b_din1_pins>;
6868bab661aSEmmanuel Vadot	pinctrl-names = "default";
6878bab661aSEmmanuel Vadot	status = "okay";
6888bab661aSEmmanuel Vadot
6898bab661aSEmmanuel Vadot	assigned-clocks = <&clkc_audio AUD_CLKID_TDM_SCLK_PAD1>,
6908bab661aSEmmanuel Vadot			  <&clkc_audio AUD_CLKID_TDM_LRCLK_PAD1>;
6918bab661aSEmmanuel Vadot	assigned-clock-parents = <&clkc_audio AUD_CLKID_MST_B_SCLK>,
6928bab661aSEmmanuel Vadot				 <&clkc_audio AUD_CLKID_MST_B_LRCLK>;
6938bab661aSEmmanuel Vadot	assigned-clock-rates = <0>, <0>;
6948bab661aSEmmanuel Vadot};
6958bab661aSEmmanuel Vadot
6968bab661aSEmmanuel Vadot&tdmin_b {
6978bab661aSEmmanuel Vadot	status = "okay";
6988bab661aSEmmanuel Vadot};
6998bab661aSEmmanuel Vadot
7008bab661aSEmmanuel Vadot&tdmout_b {
7018bab661aSEmmanuel Vadot	status = "okay";
7028bab661aSEmmanuel Vadot};
7038bab661aSEmmanuel Vadot
7048bab661aSEmmanuel Vadot&toddr_a {
7058bab661aSEmmanuel Vadot	status = "okay";
7068bab661aSEmmanuel Vadot};
7078bab661aSEmmanuel Vadot
7088bab661aSEmmanuel Vadot&uart_AO {
7098bab661aSEmmanuel Vadot	status = "okay";
7108bab661aSEmmanuel Vadot	pinctrl-0 = <&uart_ao_a_pins>;
7118bab661aSEmmanuel Vadot	pinctrl-names = "default";
7128bab661aSEmmanuel Vadot};
7138bab661aSEmmanuel Vadot
7148bab661aSEmmanuel Vadot&usb {
7158bab661aSEmmanuel Vadot	status = "okay";
7168bab661aSEmmanuel Vadot	dr_mode = "peripheral";
7178bab661aSEmmanuel Vadot};
7188bab661aSEmmanuel Vadot
7198bab661aSEmmanuel Vadot&usb2_phy0 {
7208bab661aSEmmanuel Vadot	status = "okay";
7218bab661aSEmmanuel Vadot};
7228bab661aSEmmanuel Vadot
7238bab661aSEmmanuel Vadot&usb2_phy1 {
7248bab661aSEmmanuel Vadot	status = "okay";
7258bab661aSEmmanuel Vadot	phy-supply = <&usb_host>;
7268bab661aSEmmanuel Vadot};
727