1114abfe1SNeil Armstrong// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
215abee8aSCarlo Caione/*
315abee8aSCarlo Caione * Copyright (c) 2016 Endless Computers, Inc.
415abee8aSCarlo Caione * Author: Carlo Caione <carlo@endlessm.com>
515abee8aSCarlo Caione */
615abee8aSCarlo Caione
715abee8aSCarlo Caione#include "meson-gx.dtsi"
8973fbd55SNeil Armstrong#include <dt-bindings/clock/gxbb-clkc.h>
9b16c71c9SNeil Armstrong#include <dt-bindings/clock/gxbb-aoclkc.h>
101cf3df8aSKevin Hilman#include <dt-bindings/gpio/meson-gxl-gpio.h>
116939db7eSNeil Armstrong#include <dt-bindings/reset/amlogic,meson-gxbb-reset.h>
1215abee8aSCarlo Caione
1315abee8aSCarlo Caione/ {
1415abee8aSCarlo Caione	compatible = "amlogic,meson-gxl";
154ee8e51bSNeil Armstrong
168aec5fc1SMartin Blumenstingl	soc {
178aec5fc1SMartin Blumenstingl		usb0: usb@c9000000 {
188aec5fc1SMartin Blumenstingl			status = "disabled";
198aec5fc1SMartin Blumenstingl			compatible = "amlogic,meson-gxl-dwc3";
208aec5fc1SMartin Blumenstingl			#address-cells = <2>;
218aec5fc1SMartin Blumenstingl			#size-cells = <2>;
228aec5fc1SMartin Blumenstingl			ranges;
238aec5fc1SMartin Blumenstingl
248aec5fc1SMartin Blumenstingl			clocks = <&clkc CLKID_USB>;
258aec5fc1SMartin Blumenstingl			clock-names = "usb_general";
268aec5fc1SMartin Blumenstingl			resets = <&reset RESET_USB_OTG>;
278aec5fc1SMartin Blumenstingl			reset-names = "usb_otg";
288aec5fc1SMartin Blumenstingl
298aec5fc1SMartin Blumenstingl			dwc3: dwc3@c9000000 {
308aec5fc1SMartin Blumenstingl				compatible = "snps,dwc3";
318aec5fc1SMartin Blumenstingl				reg = <0x0 0xc9000000 0x0 0x100000>;
328aec5fc1SMartin Blumenstingl				interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
338aec5fc1SMartin Blumenstingl				dr_mode = "host";
348aec5fc1SMartin Blumenstingl				maximum-speed = "high-speed";
358aec5fc1SMartin Blumenstingl				snps,dis_u2_susphy_quirk;
368aec5fc1SMartin Blumenstingl				phys = <&usb3_phy>, <&usb2_phy0>, <&usb2_phy1>;
378aec5fc1SMartin Blumenstingl			};
388aec5fc1SMartin Blumenstingl		};
39c4a0457eSCorentin Labbe
40c4a0457eSCorentin Labbe		crypto: crypto@c883e000 {
41c4a0457eSCorentin Labbe			compatible = "amlogic,gxl-crypto";
42c4a0457eSCorentin Labbe			reg = <0x0 0xc883e000 0x0 0x36>;
43c4a0457eSCorentin Labbe			interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>,
44c4a0457eSCorentin Labbe				     <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
45c4a0457eSCorentin Labbe			clocks = <&clkc CLKID_BLKMV>;
46c4a0457eSCorentin Labbe			clock-names = "blkmv";
47c4a0457eSCorentin Labbe			status = "okay";
48c4a0457eSCorentin Labbe		};
498aec5fc1SMartin Blumenstingl	};
508aec5fc1SMartin Blumenstingl};
518aec5fc1SMartin Blumenstingl
528aec5fc1SMartin Blumenstingl&apb {
538aec5fc1SMartin Blumenstingl	usb2_phy0: phy@78000 {
548aec5fc1SMartin Blumenstingl		compatible = "amlogic,meson-gxl-usb2-phy";
558aec5fc1SMartin Blumenstingl		#phy-cells = <0>;
568aec5fc1SMartin Blumenstingl		reg = <0x0 0x78000 0x0 0x20>;
578aec5fc1SMartin Blumenstingl		clocks = <&clkc CLKID_USB>;
588aec5fc1SMartin Blumenstingl		clock-names = "phy";
598aec5fc1SMartin Blumenstingl		resets = <&reset RESET_USB_OTG>;
608aec5fc1SMartin Blumenstingl		reset-names = "phy";
618aec5fc1SMartin Blumenstingl		status = "okay";
628aec5fc1SMartin Blumenstingl	};
638aec5fc1SMartin Blumenstingl
648aec5fc1SMartin Blumenstingl	usb2_phy1: phy@78020 {
658aec5fc1SMartin Blumenstingl		compatible = "amlogic,meson-gxl-usb2-phy";
668aec5fc1SMartin Blumenstingl		#phy-cells = <0>;
678aec5fc1SMartin Blumenstingl		reg = <0x0 0x78020 0x0 0x20>;
688aec5fc1SMartin Blumenstingl		clocks = <&clkc CLKID_USB>;
698aec5fc1SMartin Blumenstingl		clock-names = "phy";
708aec5fc1SMartin Blumenstingl		resets = <&reset RESET_USB_OTG>;
718aec5fc1SMartin Blumenstingl		reset-names = "phy";
728aec5fc1SMartin Blumenstingl		status = "okay";
738aec5fc1SMartin Blumenstingl	};
748aec5fc1SMartin Blumenstingl
758aec5fc1SMartin Blumenstingl	usb3_phy: phy@78080 {
768aec5fc1SMartin Blumenstingl		compatible = "amlogic,meson-gxl-usb3-phy";
778aec5fc1SMartin Blumenstingl		#phy-cells = <0>;
788aec5fc1SMartin Blumenstingl		reg = <0x0 0x78080 0x0 0x20>;
798aec5fc1SMartin Blumenstingl		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
808aec5fc1SMartin Blumenstingl		clocks = <&clkc CLKID_USB>, <&clkc_AO CLKID_AO_CEC_32K>;
818aec5fc1SMartin Blumenstingl		clock-names = "phy", "peripheral";
828aec5fc1SMartin Blumenstingl		resets = <&reset RESET_USB_OTG>, <&reset RESET_USB_OTG>;
838aec5fc1SMartin Blumenstingl		reset-names = "phy", "peripheral";
848aec5fc1SMartin Blumenstingl		status = "okay";
858aec5fc1SMartin Blumenstingl	};
8615abee8aSCarlo Caione};
87fb0fe922SNeil Armstrong
88eed5afc6SJerome Brunet&efuse {
89eed5afc6SJerome Brunet	clocks = <&clkc CLKID_EFUSE>;
90eed5afc6SJerome Brunet};
91eed5afc6SJerome Brunet
92e9e27c64SNeil Armstrong&ethmac {
93e9e27c64SNeil Armstrong	clocks = <&clkc CLKID_ETH>,
94e9e27c64SNeil Armstrong		 <&clkc CLKID_FCLK_DIV2>,
95e9e27c64SNeil Armstrong		 <&clkc CLKID_MPLL2>;
96e9e27c64SNeil Armstrong	clock-names = "stmmaceth", "clkin0", "clkin1";
97e9e27c64SNeil Armstrong
98e9e27c64SNeil Armstrong	mdio0: mdio {
99e9e27c64SNeil Armstrong		#address-cells = <1>;
100e9e27c64SNeil Armstrong		#size-cells = <0>;
101e9e27c64SNeil Armstrong		compatible = "snps,dwmac-mdio";
102e9e27c64SNeil Armstrong	};
103e9e27c64SNeil Armstrong};
104e9e27c64SNeil Armstrong
105fb0fe922SNeil Armstrong&aobus {
106fb0fe922SNeil Armstrong	pinctrl_aobus: pinctrl@14 {
107fb0fe922SNeil Armstrong		compatible = "amlogic,meson-gxl-aobus-pinctrl";
108fb0fe922SNeil Armstrong		#address-cells = <2>;
109fb0fe922SNeil Armstrong		#size-cells = <2>;
110fb0fe922SNeil Armstrong		ranges;
111fb0fe922SNeil Armstrong
112fb0fe922SNeil Armstrong		gpio_ao: bank@14 {
113fb0fe922SNeil Armstrong			reg = <0x0 0x00014 0x0 0x8>,
114fb0fe922SNeil Armstrong			      <0x0 0x0002c 0x0 0x4>,
115fb0fe922SNeil Armstrong			      <0x0 0x00024 0x0 0x8>;
116fb0fe922SNeil Armstrong			reg-names = "mux", "pull", "gpio";
117fb0fe922SNeil Armstrong			gpio-controller;
118fb0fe922SNeil Armstrong			#gpio-cells = <2>;
11984412e4eSNeil Armstrong			gpio-ranges = <&pinctrl_aobus 0 0 14>;
120fb0fe922SNeil Armstrong		};
121fb0fe922SNeil Armstrong
122fb0fe922SNeil Armstrong		uart_ao_a_pins: uart_ao_a {
123fb0fe922SNeil Armstrong			mux {
124fb0fe922SNeil Armstrong				groups = "uart_tx_ao_a", "uart_rx_ao_a";
125fb0fe922SNeil Armstrong				function = "uart_ao";
1261c5cc1c8SJerome Brunet				bias-disable;
127fb0fe922SNeil Armstrong			};
128fb0fe922SNeil Armstrong		};
129fb0fe922SNeil Armstrong
130261e1d5cSMartin Blumenstingl		uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
131261e1d5cSMartin Blumenstingl			mux {
132261e1d5cSMartin Blumenstingl				groups = "uart_cts_ao_a",
133261e1d5cSMartin Blumenstingl				       "uart_rts_ao_a";
134261e1d5cSMartin Blumenstingl				function = "uart_ao";
1351c5cc1c8SJerome Brunet				bias-disable;
136261e1d5cSMartin Blumenstingl			};
137261e1d5cSMartin Blumenstingl		};
138261e1d5cSMartin Blumenstingl
139890a96a2SMartin Blumenstingl		uart_ao_b_pins: uart_ao_b {
140890a96a2SMartin Blumenstingl			mux {
141890a96a2SMartin Blumenstingl				groups = "uart_tx_ao_b", "uart_rx_ao_b";
142890a96a2SMartin Blumenstingl				function = "uart_ao_b";
1431c5cc1c8SJerome Brunet				bias-disable;
144890a96a2SMartin Blumenstingl			};
145890a96a2SMartin Blumenstingl		};
146890a96a2SMartin Blumenstingl
147ca02e3f9SNeil Armstrong		uart_ao_b_0_1_pins: uart_ao_b_0_1 {
148ca02e3f9SNeil Armstrong			mux {
149ca02e3f9SNeil Armstrong				groups = "uart_tx_ao_b_0", "uart_rx_ao_b_1";
150ca02e3f9SNeil Armstrong				function = "uart_ao_b";
1511c5cc1c8SJerome Brunet				bias-disable;
152ca02e3f9SNeil Armstrong			};
153ca02e3f9SNeil Armstrong		};
154ca02e3f9SNeil Armstrong
155261e1d5cSMartin Blumenstingl		uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
156261e1d5cSMartin Blumenstingl			mux {
157261e1d5cSMartin Blumenstingl				groups = "uart_cts_ao_b",
158261e1d5cSMartin Blumenstingl				       "uart_rts_ao_b";
159261e1d5cSMartin Blumenstingl				function = "uart_ao_b";
1601c5cc1c8SJerome Brunet				bias-disable;
161261e1d5cSMartin Blumenstingl			};
162261e1d5cSMartin Blumenstingl		};
163261e1d5cSMartin Blumenstingl
164fb0fe922SNeil Armstrong		remote_input_ao_pins: remote_input_ao {
165fb0fe922SNeil Armstrong			mux {
166fb0fe922SNeil Armstrong				groups = "remote_input_ao";
167fb0fe922SNeil Armstrong				function = "remote_input_ao";
1681c5cc1c8SJerome Brunet				bias-disable;
169fb0fe922SNeil Armstrong			};
170fb0fe922SNeil Armstrong		};
171249a2243SMartin Blumenstingl
172ca02e3f9SNeil Armstrong		i2c_ao_pins: i2c_ao {
173ca02e3f9SNeil Armstrong			mux {
174ca02e3f9SNeil Armstrong				groups = "i2c_sck_ao",
175ca02e3f9SNeil Armstrong				       "i2c_sda_ao";
176ca02e3f9SNeil Armstrong				function = "i2c_ao";
1771c5cc1c8SJerome Brunet				bias-disable;
178ca02e3f9SNeil Armstrong			};
179ca02e3f9SNeil Armstrong		};
180ca02e3f9SNeil Armstrong
181e98fd134SMartin Blumenstingl		pwm_ao_a_3_pins: pwm_ao_a_3 {
182e98fd134SMartin Blumenstingl			mux {
183e98fd134SMartin Blumenstingl				groups = "pwm_ao_a_3";
184e98fd134SMartin Blumenstingl				function = "pwm_ao_a";
1851c5cc1c8SJerome Brunet				bias-disable;
186e98fd134SMartin Blumenstingl			};
187e98fd134SMartin Blumenstingl		};
188e98fd134SMartin Blumenstingl
189e98fd134SMartin Blumenstingl		pwm_ao_a_8_pins: pwm_ao_a_8 {
190e98fd134SMartin Blumenstingl			mux {
191e98fd134SMartin Blumenstingl				groups = "pwm_ao_a_8";
192e98fd134SMartin Blumenstingl				function = "pwm_ao_a";
1931c5cc1c8SJerome Brunet				bias-disable;
194e98fd134SMartin Blumenstingl			};
195e98fd134SMartin Blumenstingl		};
196e98fd134SMartin Blumenstingl
197249a2243SMartin Blumenstingl		pwm_ao_b_pins: pwm_ao_b {
198249a2243SMartin Blumenstingl			mux {
199249a2243SMartin Blumenstingl				groups = "pwm_ao_b";
200249a2243SMartin Blumenstingl				function = "pwm_ao_b";
2011c5cc1c8SJerome Brunet				bias-disable;
202249a2243SMartin Blumenstingl			};
203249a2243SMartin Blumenstingl		};
204ca02e3f9SNeil Armstrong
205ca02e3f9SNeil Armstrong		pwm_ao_b_6_pins: pwm_ao_b_6 {
206ca02e3f9SNeil Armstrong			mux {
207ca02e3f9SNeil Armstrong				groups = "pwm_ao_b_6";
208ca02e3f9SNeil Armstrong				function = "pwm_ao_b";
2091c5cc1c8SJerome Brunet				bias-disable;
210ca02e3f9SNeil Armstrong			};
211ca02e3f9SNeil Armstrong		};
212c16fe9a1Sjbrunet
213c16fe9a1Sjbrunet		i2s_out_ch23_ao_pins: i2s_out_ch23_ao {
214c16fe9a1Sjbrunet			mux {
215c16fe9a1Sjbrunet				groups = "i2s_out_ch23_ao";
216c16fe9a1Sjbrunet				function = "i2s_out_ao";
2171c5cc1c8SJerome Brunet				bias-disable;
218c16fe9a1Sjbrunet			};
219c16fe9a1Sjbrunet		};
220c16fe9a1Sjbrunet
221c16fe9a1Sjbrunet		i2s_out_ch45_ao_pins: i2s_out_ch45_ao {
222c16fe9a1Sjbrunet			mux {
223c16fe9a1Sjbrunet				groups = "i2s_out_ch45_ao";
224c16fe9a1Sjbrunet				function = "i2s_out_ao";
2251c5cc1c8SJerome Brunet				bias-disable;
226c16fe9a1Sjbrunet			};
227c16fe9a1Sjbrunet		};
2289503062dSjbrunet
2299503062dSjbrunet		spdif_out_ao_6_pins: spdif_out_ao_6 {
2309503062dSjbrunet			mux {
2319503062dSjbrunet				groups = "spdif_out_ao_6";
2329503062dSjbrunet				function = "spdif_out_ao";
2331c5cc1c8SJerome Brunet				bias-disable;
2349503062dSjbrunet			};
2359503062dSjbrunet		};
2369503062dSjbrunet
2379503062dSjbrunet		spdif_out_ao_9_pins: spdif_out_ao_9 {
2389503062dSjbrunet			mux {
2399503062dSjbrunet				groups = "spdif_out_ao_9";
2409503062dSjbrunet				function = "spdif_out_ao";
2411c5cc1c8SJerome Brunet				bias-disable;
2429503062dSjbrunet			};
2439503062dSjbrunet		};
2446d717619SNeil Armstrong
2456d717619SNeil Armstrong		ao_cec_pins: ao_cec {
2466d717619SNeil Armstrong			mux {
2476d717619SNeil Armstrong				groups = "ao_cec";
2486d717619SNeil Armstrong				function = "cec_ao";
2491c5cc1c8SJerome Brunet				bias-disable;
2506d717619SNeil Armstrong			};
2516d717619SNeil Armstrong		};
2526d717619SNeil Armstrong
2536d717619SNeil Armstrong		ee_cec_pins: ee_cec {
2546d717619SNeil Armstrong			mux {
2556d717619SNeil Armstrong				groups = "ee_cec";
2566d717619SNeil Armstrong				function = "cec_ao";
2571c5cc1c8SJerome Brunet				bias-disable;
2586d717619SNeil Armstrong			};
2596d717619SNeil Armstrong		};
260fb0fe922SNeil Armstrong	};
261fb0fe922SNeil Armstrong};
262fb0fe922SNeil Armstrong
263b16c71c9SNeil Armstrong&cec_AO {
264b16c71c9SNeil Armstrong	clocks = <&clkc_AO CLKID_AO_CEC_32K>;
265b16c71c9SNeil Armstrong	clock-names = "core";
266b16c71c9SNeil Armstrong};
267b16c71c9SNeil Armstrong
2687fd2c355SNeil Armstrong&clkc_AO {
2697fd2c355SNeil Armstrong	compatible = "amlogic,meson-gxl-aoclkc", "amlogic,meson-gx-aoclkc";
27016361ff2SJerome Brunet	clocks = <&xtal>, <&clkc CLKID_CLK81>;
27116361ff2SJerome Brunet	clock-names = "xtal", "mpeg-clk";
2727fd2c355SNeil Armstrong};
2737fd2c355SNeil Armstrong
2749dbb56eaSJerome Brunet&gpio_intc {
2759dbb56eaSJerome Brunet	compatible = "amlogic,meson-gpio-intc",
2769dbb56eaSJerome Brunet		     "amlogic,meson-gxl-gpio-intc";
2779dbb56eaSJerome Brunet	status = "okay";
2789dbb56eaSJerome Brunet};
2799dbb56eaSJerome Brunet
2806a573c4eSAndreas Färber&hdmi_tx {
2816a573c4eSAndreas Färber	compatible = "amlogic,meson-gxl-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
2826a573c4eSAndreas Färber	resets = <&reset RESET_HDMITX_CAPB3>,
2836a573c4eSAndreas Färber		 <&reset RESET_HDMI_SYSTEM_RESET>,
2846a573c4eSAndreas Färber		 <&reset RESET_HDMI_TX>;
2856a573c4eSAndreas Färber	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
2866a573c4eSAndreas Färber	clocks = <&clkc CLKID_HDMI_PCLK>,
2876a573c4eSAndreas Färber		 <&clkc CLKID_CLK81>,
2886a573c4eSAndreas Färber		 <&clkc CLKID_GCLK_VENCI_INT0>;
2896a573c4eSAndreas Färber	clock-names = "isfr", "iahb", "venci";
2906a573c4eSAndreas Färber};
2916a573c4eSAndreas Färber
2926f95c8cdSJerome Brunet&sysctrl {
2936f95c8cdSJerome Brunet	clkc: clock-controller {
29457ee9767SJerome Brunet		compatible = "amlogic,gxl-clkc";
2956a573c4eSAndreas Färber		#clock-cells = <1>;
29616361ff2SJerome Brunet		clocks = <&xtal>;
29716361ff2SJerome Brunet		clock-names = "xtal";
2986a573c4eSAndreas Färber	};
2996a573c4eSAndreas Färber};
3006a573c4eSAndreas Färber
3016a573c4eSAndreas Färber&i2c_A {
3026a573c4eSAndreas Färber	clocks = <&clkc CLKID_I2C>;
3036a573c4eSAndreas Färber};
3046a573c4eSAndreas Färber
3056a573c4eSAndreas Färber&i2c_AO {
3066a573c4eSAndreas Färber	clocks = <&clkc CLKID_AO_I2C>;
3076a573c4eSAndreas Färber};
3086a573c4eSAndreas Färber
3096a573c4eSAndreas Färber&i2c_B {
3106a573c4eSAndreas Färber	clocks = <&clkc CLKID_I2C>;
3116a573c4eSAndreas Färber};
3126a573c4eSAndreas Färber
3136a573c4eSAndreas Färber&i2c_C {
3146a573c4eSAndreas Färber	clocks = <&clkc CLKID_I2C>;
3156a573c4eSAndreas Färber};
3166a573c4eSAndreas Färber
317fb0fe922SNeil Armstrong&periphs {
318fb0fe922SNeil Armstrong	pinctrl_periphs: pinctrl@4b0 {
319fb0fe922SNeil Armstrong		compatible = "amlogic,meson-gxl-periphs-pinctrl";
320fb0fe922SNeil Armstrong		#address-cells = <2>;
321fb0fe922SNeil Armstrong		#size-cells = <2>;
322fb0fe922SNeil Armstrong		ranges;
323fb0fe922SNeil Armstrong
324fb0fe922SNeil Armstrong		gpio: bank@4b0 {
325fb0fe922SNeil Armstrong			reg = <0x0 0x004b0 0x0 0x28>,
326fb0fe922SNeil Armstrong			      <0x0 0x004e8 0x0 0x14>,
327f4c406d5SNeil Armstrong			      <0x0 0x00520 0x0 0x14>,
328fb0fe922SNeil Armstrong			      <0x0 0x00430 0x0 0x40>;
329fb0fe922SNeil Armstrong			reg-names = "mux", "pull", "pull-enable", "gpio";
330fb0fe922SNeil Armstrong			gpio-controller;
331fb0fe922SNeil Armstrong			#gpio-cells = <2>;
3327dbe78e5SJerome Brunet			gpio-ranges = <&pinctrl_periphs 0 0 100>;
333fb0fe922SNeil Armstrong		};
334fb0fe922SNeil Armstrong
335fb0fe922SNeil Armstrong		emmc_pins: emmc {
336b43033b1SJerome Brunet			mux-0 {
337fb0fe922SNeil Armstrong				groups = "emmc_nand_d07",
338b43033b1SJerome Brunet				       "emmc_cmd";
339b43033b1SJerome Brunet				function = "emmc";
340b43033b1SJerome Brunet				bias-pull-up;
341b43033b1SJerome Brunet			};
342b43033b1SJerome Brunet
343b43033b1SJerome Brunet			mux-1 {
344b43033b1SJerome Brunet				groups = "emmc_clk";
345ab36be66SNeil Armstrong				function = "emmc";
34696a13691SJerome Brunet				bias-disable;
347ab36be66SNeil Armstrong			};
348ab36be66SNeil Armstrong		};
349ab36be66SNeil Armstrong
350ab36be66SNeil Armstrong		emmc_ds_pins: emmc-ds {
351ab36be66SNeil Armstrong			mux {
352ab36be66SNeil Armstrong				groups = "emmc_ds";
353fb0fe922SNeil Armstrong				function = "emmc";
354b43033b1SJerome Brunet				bias-pull-down;
355fb0fe922SNeil Armstrong			};
356fb0fe922SNeil Armstrong		};
357fb0fe922SNeil Armstrong
35867e7607fSJerome Brunet		emmc_clk_gate_pins: emmc_clk_gate {
35967e7607fSJerome Brunet			mux {
36067e7607fSJerome Brunet				groups = "BOOT_8";
36167e7607fSJerome Brunet				function = "gpio_periphs";
36267e7607fSJerome Brunet				bias-pull-down;
36367e7607fSJerome Brunet			};
36467e7607fSJerome Brunet		};
36567e7607fSJerome Brunet
366ca02e3f9SNeil Armstrong		nor_pins: nor {
367ca02e3f9SNeil Armstrong			mux {
368ca02e3f9SNeil Armstrong				groups = "nor_d",
369ca02e3f9SNeil Armstrong				       "nor_q",
370ca02e3f9SNeil Armstrong				       "nor_c",
371ca02e3f9SNeil Armstrong				       "nor_cs";
372ca02e3f9SNeil Armstrong				function = "nor";
3731c5cc1c8SJerome Brunet				bias-disable;
374ca02e3f9SNeil Armstrong			};
375ca02e3f9SNeil Armstrong		};
376ca02e3f9SNeil Armstrong
37768ecb5c1SRob Herring		spi_pins: spi-pins {
37885b2e743SNeil Armstrong			mux {
37985b2e743SNeil Armstrong				groups = "spi_miso",
38085b2e743SNeil Armstrong					"spi_mosi",
38185b2e743SNeil Armstrong					"spi_sclk";
38285b2e743SNeil Armstrong				function = "spi";
3831c5cc1c8SJerome Brunet				bias-disable;
38485b2e743SNeil Armstrong			};
38585b2e743SNeil Armstrong		};
38685b2e743SNeil Armstrong
38785b2e743SNeil Armstrong		spi_ss0_pins: spi-ss0 {
38885b2e743SNeil Armstrong			mux {
38985b2e743SNeil Armstrong				groups = "spi_ss0";
39085b2e743SNeil Armstrong				function = "spi";
3911c5cc1c8SJerome Brunet				bias-disable;
39285b2e743SNeil Armstrong			};
39385b2e743SNeil Armstrong		};
39485b2e743SNeil Armstrong
395fb0fe922SNeil Armstrong		sdcard_pins: sdcard {
396b43033b1SJerome Brunet			mux-0 {
397fb0fe922SNeil Armstrong				groups = "sdcard_d0",
398fb0fe922SNeil Armstrong				       "sdcard_d1",
399fb0fe922SNeil Armstrong				       "sdcard_d2",
400fb0fe922SNeil Armstrong				       "sdcard_d3",
401b43033b1SJerome Brunet				       "sdcard_cmd";
402b43033b1SJerome Brunet				function = "sdcard";
403b43033b1SJerome Brunet				bias-pull-up;
404b43033b1SJerome Brunet			};
405b43033b1SJerome Brunet
406b43033b1SJerome Brunet			mux-1 {
407b43033b1SJerome Brunet				groups = "sdcard_clk";
408fb0fe922SNeil Armstrong				function = "sdcard";
40996a13691SJerome Brunet				bias-disable;
410fb0fe922SNeil Armstrong			};
411fb0fe922SNeil Armstrong		};
412fb0fe922SNeil Armstrong
41367e7607fSJerome Brunet		sdcard_clk_gate_pins: sdcard_clk_gate {
41467e7607fSJerome Brunet			mux {
41567e7607fSJerome Brunet				groups = "CARD_2";
41667e7607fSJerome Brunet				function = "gpio_periphs";
41767e7607fSJerome Brunet				bias-pull-down;
41867e7607fSJerome Brunet			};
41967e7607fSJerome Brunet		};
42067e7607fSJerome Brunet
421fb0fe922SNeil Armstrong		sdio_pins: sdio {
422b43033b1SJerome Brunet			mux-0 {
423fb0fe922SNeil Armstrong				groups = "sdio_d0",
424fb0fe922SNeil Armstrong				       "sdio_d1",
425fb0fe922SNeil Armstrong				       "sdio_d2",
426fb0fe922SNeil Armstrong				       "sdio_d3",
427b43033b1SJerome Brunet				       "sdio_cmd";
428b43033b1SJerome Brunet				function = "sdio";
429b43033b1SJerome Brunet				bias-pull-up;
430b43033b1SJerome Brunet			};
431b43033b1SJerome Brunet
432b43033b1SJerome Brunet			mux-1 {
433b43033b1SJerome Brunet				groups = "sdio_clk";
434fb0fe922SNeil Armstrong				function = "sdio";
43596a13691SJerome Brunet				bias-disable;
436fb0fe922SNeil Armstrong			};
437fb0fe922SNeil Armstrong		};
438fb0fe922SNeil Armstrong
43967e7607fSJerome Brunet		sdio_clk_gate_pins: sdio_clk_gate {
44067e7607fSJerome Brunet			mux {
44167e7607fSJerome Brunet				groups = "GPIOX_4";
44267e7607fSJerome Brunet				function = "gpio_periphs";
44367e7607fSJerome Brunet				bias-pull-down;
44467e7607fSJerome Brunet			};
44567e7607fSJerome Brunet		};
44667e7607fSJerome Brunet
447fb0fe922SNeil Armstrong		sdio_irq_pins: sdio_irq {
448fb0fe922SNeil Armstrong			mux {
449fb0fe922SNeil Armstrong				groups = "sdio_irq";
450fb0fe922SNeil Armstrong				function = "sdio";
4511c5cc1c8SJerome Brunet				bias-disable;
452fb0fe922SNeil Armstrong			};
453fb0fe922SNeil Armstrong		};
454fb0fe922SNeil Armstrong
455fb0fe922SNeil Armstrong		uart_a_pins: uart_a {
456fb0fe922SNeil Armstrong			mux {
457fb0fe922SNeil Armstrong				groups = "uart_tx_a",
458fb0fe922SNeil Armstrong				       "uart_rx_a";
459fb0fe922SNeil Armstrong				function = "uart_a";
4601c5cc1c8SJerome Brunet				bias-disable;
461fb0fe922SNeil Armstrong			};
462fb0fe922SNeil Armstrong		};
463fb0fe922SNeil Armstrong
464261e1d5cSMartin Blumenstingl		uart_a_cts_rts_pins: uart_a_cts_rts {
465261e1d5cSMartin Blumenstingl			mux {
466261e1d5cSMartin Blumenstingl				groups = "uart_cts_a",
467261e1d5cSMartin Blumenstingl				       "uart_rts_a";
468261e1d5cSMartin Blumenstingl				function = "uart_a";
4691c5cc1c8SJerome Brunet				bias-disable;
470261e1d5cSMartin Blumenstingl			};
471261e1d5cSMartin Blumenstingl		};
472261e1d5cSMartin Blumenstingl
473fb0fe922SNeil Armstrong		uart_b_pins: uart_b {
474fb0fe922SNeil Armstrong			mux {
475fb0fe922SNeil Armstrong				groups = "uart_tx_b",
476fb0fe922SNeil Armstrong				       "uart_rx_b";
477fb0fe922SNeil Armstrong				function = "uart_b";
4781c5cc1c8SJerome Brunet				bias-disable;
479fb0fe922SNeil Armstrong			};
480fb0fe922SNeil Armstrong		};
481fb0fe922SNeil Armstrong
482261e1d5cSMartin Blumenstingl		uart_b_cts_rts_pins: uart_b_cts_rts {
483261e1d5cSMartin Blumenstingl			mux {
484261e1d5cSMartin Blumenstingl				groups = "uart_cts_b",
485261e1d5cSMartin Blumenstingl				       "uart_rts_b";
486261e1d5cSMartin Blumenstingl				function = "uart_b";
4871c5cc1c8SJerome Brunet				bias-disable;
488261e1d5cSMartin Blumenstingl			};
489261e1d5cSMartin Blumenstingl		};
490261e1d5cSMartin Blumenstingl
491fb0fe922SNeil Armstrong		uart_c_pins: uart_c {
492fb0fe922SNeil Armstrong			mux {
493fb0fe922SNeil Armstrong				groups = "uart_tx_c",
494fb0fe922SNeil Armstrong				       "uart_rx_c";
495fb0fe922SNeil Armstrong				function = "uart_c";
4961c5cc1c8SJerome Brunet				bias-disable;
497fb0fe922SNeil Armstrong			};
498fb0fe922SNeil Armstrong		};
499fb0fe922SNeil Armstrong
500261e1d5cSMartin Blumenstingl		uart_c_cts_rts_pins: uart_c_cts_rts {
501261e1d5cSMartin Blumenstingl			mux {
502261e1d5cSMartin Blumenstingl				groups = "uart_cts_c",
503261e1d5cSMartin Blumenstingl				       "uart_rts_c";
504261e1d5cSMartin Blumenstingl				function = "uart_c";
5051c5cc1c8SJerome Brunet				bias-disable;
506261e1d5cSMartin Blumenstingl			};
507261e1d5cSMartin Blumenstingl		};
508261e1d5cSMartin Blumenstingl
509fb0fe922SNeil Armstrong		i2c_a_pins: i2c_a {
510fb0fe922SNeil Armstrong			mux {
511fb0fe922SNeil Armstrong				groups = "i2c_sck_a",
512fb0fe922SNeil Armstrong				     "i2c_sda_a";
513fb0fe922SNeil Armstrong				function = "i2c_a";
5141c5cc1c8SJerome Brunet				bias-disable;
515fb0fe922SNeil Armstrong			};
516fb0fe922SNeil Armstrong		};
517fb0fe922SNeil Armstrong
518fb0fe922SNeil Armstrong		i2c_b_pins: i2c_b {
519fb0fe922SNeil Armstrong			mux {
520fb0fe922SNeil Armstrong				groups = "i2c_sck_b",
521fb0fe922SNeil Armstrong				      "i2c_sda_b";
522fb0fe922SNeil Armstrong				function = "i2c_b";
5231c5cc1c8SJerome Brunet				bias-disable;
524fb0fe922SNeil Armstrong			};
525fb0fe922SNeil Armstrong		};
526fb0fe922SNeil Armstrong
527fb0fe922SNeil Armstrong		i2c_c_pins: i2c_c {
528fb0fe922SNeil Armstrong			mux {
529fb0fe922SNeil Armstrong				groups = "i2c_sck_c",
530fb0fe922SNeil Armstrong				      "i2c_sda_c";
531fb0fe922SNeil Armstrong				function = "i2c_c";
5321c5cc1c8SJerome Brunet				bias-disable;
533fb0fe922SNeil Armstrong			};
534fb0fe922SNeil Armstrong		};
535fb0fe922SNeil Armstrong
536*4e116975SJerome Brunet		i2c_c_dv18_pins: i2c_c_dv18 {
537*4e116975SJerome Brunet			mux {
538*4e116975SJerome Brunet				groups = "i2c_sck_c_dv19",
539*4e116975SJerome Brunet				      "i2c_sda_c_dv18";
540*4e116975SJerome Brunet				function = "i2c_c";
541*4e116975SJerome Brunet				bias-disable;
542*4e116975SJerome Brunet			};
543*4e116975SJerome Brunet		};
544*4e116975SJerome Brunet
545fb0fe922SNeil Armstrong		eth_pins: eth_c {
546fb0fe922SNeil Armstrong			mux {
547fb0fe922SNeil Armstrong				groups = "eth_mdio",
548fb0fe922SNeil Armstrong				       "eth_mdc",
549fb0fe922SNeil Armstrong				       "eth_clk_rx_clk",
550fb0fe922SNeil Armstrong				       "eth_rx_dv",
551fb0fe922SNeil Armstrong				       "eth_rxd0",
552fb0fe922SNeil Armstrong				       "eth_rxd1",
553fb0fe922SNeil Armstrong				       "eth_rxd2",
554fb0fe922SNeil Armstrong				       "eth_rxd3",
555fb0fe922SNeil Armstrong				       "eth_rgmii_tx_clk",
556fb0fe922SNeil Armstrong				       "eth_tx_en",
557fb0fe922SNeil Armstrong				       "eth_txd0",
558fb0fe922SNeil Armstrong				       "eth_txd1",
559fb0fe922SNeil Armstrong				       "eth_txd2",
560fb0fe922SNeil Armstrong				       "eth_txd3";
561fb0fe922SNeil Armstrong				function = "eth";
5621c5cc1c8SJerome Brunet				bias-disable;
563fb0fe922SNeil Armstrong			};
564fb0fe922SNeil Armstrong		};
565fb0fe922SNeil Armstrong
56644ddadc3SNeil Armstrong		eth_link_led_pins: eth_link_led {
56744ddadc3SNeil Armstrong			mux {
56844ddadc3SNeil Armstrong				groups = "eth_link_led";
56944ddadc3SNeil Armstrong				function = "eth_led";
5701c5cc1c8SJerome Brunet				bias-disable;
57144ddadc3SNeil Armstrong			};
57244ddadc3SNeil Armstrong		};
57344ddadc3SNeil Armstrong
57444ddadc3SNeil Armstrong		eth_act_led_pins: eth_act_led {
57544ddadc3SNeil Armstrong			mux {
57644ddadc3SNeil Armstrong				groups = "eth_act_led";
57744ddadc3SNeil Armstrong				function = "eth_led";
57844ddadc3SNeil Armstrong			};
57944ddadc3SNeil Armstrong		};
58044ddadc3SNeil Armstrong
581e98fd134SMartin Blumenstingl		pwm_a_pins: pwm_a {
582e98fd134SMartin Blumenstingl			mux {
583e98fd134SMartin Blumenstingl				groups = "pwm_a";
584e98fd134SMartin Blumenstingl				function = "pwm_a";
5851c5cc1c8SJerome Brunet				bias-disable;
586e98fd134SMartin Blumenstingl			};
587e98fd134SMartin Blumenstingl		};
588e98fd134SMartin Blumenstingl
589e98fd134SMartin Blumenstingl		pwm_b_pins: pwm_b {
590e98fd134SMartin Blumenstingl			mux {
591e98fd134SMartin Blumenstingl				groups = "pwm_b";
592e98fd134SMartin Blumenstingl				function = "pwm_b";
5931c5cc1c8SJerome Brunet				bias-disable;
594e98fd134SMartin Blumenstingl			};
595e98fd134SMartin Blumenstingl		};
596e98fd134SMartin Blumenstingl
597e98fd134SMartin Blumenstingl		pwm_c_pins: pwm_c {
598e98fd134SMartin Blumenstingl			mux {
599e98fd134SMartin Blumenstingl				groups = "pwm_c";
600e98fd134SMartin Blumenstingl				function = "pwm_c";
6011c5cc1c8SJerome Brunet				bias-disable;
602e98fd134SMartin Blumenstingl			};
603e98fd134SMartin Blumenstingl		};
604e98fd134SMartin Blumenstingl
605e98fd134SMartin Blumenstingl		pwm_d_pins: pwm_d {
606e98fd134SMartin Blumenstingl			mux {
607e98fd134SMartin Blumenstingl				groups = "pwm_d";
608e98fd134SMartin Blumenstingl				function = "pwm_d";
6091c5cc1c8SJerome Brunet				bias-disable;
610e98fd134SMartin Blumenstingl			};
611e98fd134SMartin Blumenstingl		};
612e98fd134SMartin Blumenstingl
613fb0fe922SNeil Armstrong		pwm_e_pins: pwm_e {
614fb0fe922SNeil Armstrong			mux {
615fb0fe922SNeil Armstrong				groups = "pwm_e";
616fb0fe922SNeil Armstrong				function = "pwm_e";
6171c5cc1c8SJerome Brunet				bias-disable;
618fb0fe922SNeil Armstrong			};
619fb0fe922SNeil Armstrong		};
620b949165cSNeil Armstrong
621e98fd134SMartin Blumenstingl		pwm_f_clk_pins: pwm_f_clk {
622e98fd134SMartin Blumenstingl			mux {
623e98fd134SMartin Blumenstingl				groups = "pwm_f_clk";
624e98fd134SMartin Blumenstingl				function = "pwm_f";
6251c5cc1c8SJerome Brunet				bias-disable;
626e98fd134SMartin Blumenstingl			};
627e98fd134SMartin Blumenstingl		};
628e98fd134SMartin Blumenstingl
629e98fd134SMartin Blumenstingl		pwm_f_x_pins: pwm_f_x {
630e98fd134SMartin Blumenstingl			mux {
631e98fd134SMartin Blumenstingl				groups = "pwm_f_x";
632e98fd134SMartin Blumenstingl				function = "pwm_f";
6331c5cc1c8SJerome Brunet				bias-disable;
634e98fd134SMartin Blumenstingl			};
635e98fd134SMartin Blumenstingl		};
636e98fd134SMartin Blumenstingl
637b949165cSNeil Armstrong		hdmi_hpd_pins: hdmi_hpd {
638b949165cSNeil Armstrong			mux {
639b949165cSNeil Armstrong				groups = "hdmi_hpd";
640b949165cSNeil Armstrong				function = "hdmi_hpd";
6411c5cc1c8SJerome Brunet				bias-disable;
642b949165cSNeil Armstrong			};
643b949165cSNeil Armstrong		};
644b949165cSNeil Armstrong
645b949165cSNeil Armstrong		hdmi_i2c_pins: hdmi_i2c {
646b949165cSNeil Armstrong			mux {
647b949165cSNeil Armstrong				groups = "hdmi_sda", "hdmi_scl";
648b949165cSNeil Armstrong				function = "hdmi_i2c";
6491c5cc1c8SJerome Brunet				bias-disable;
650b949165cSNeil Armstrong			};
651b949165cSNeil Armstrong		};
652c16fe9a1Sjbrunet
653c16fe9a1Sjbrunet		i2s_am_clk_pins: i2s_am_clk {
654c16fe9a1Sjbrunet			mux {
655c16fe9a1Sjbrunet				groups = "i2s_am_clk";
656c16fe9a1Sjbrunet				function = "i2s_out";
6571c5cc1c8SJerome Brunet				bias-disable;
658c16fe9a1Sjbrunet			};
659c16fe9a1Sjbrunet		};
660c16fe9a1Sjbrunet
661c16fe9a1Sjbrunet		i2s_out_ao_clk_pins: i2s_out_ao_clk {
662c16fe9a1Sjbrunet			mux {
663c16fe9a1Sjbrunet				groups = "i2s_out_ao_clk";
664c16fe9a1Sjbrunet				function = "i2s_out";
6651c5cc1c8SJerome Brunet				bias-disable;
666c16fe9a1Sjbrunet			};
667c16fe9a1Sjbrunet		};
668c16fe9a1Sjbrunet
669c16fe9a1Sjbrunet		i2s_out_lr_clk_pins: i2s_out_lr_clk {
670c16fe9a1Sjbrunet			mux {
671c16fe9a1Sjbrunet				groups = "i2s_out_lr_clk";
672c16fe9a1Sjbrunet				function = "i2s_out";
6731c5cc1c8SJerome Brunet				bias-disable;
674c16fe9a1Sjbrunet			};
675c16fe9a1Sjbrunet		};
676c16fe9a1Sjbrunet
677c16fe9a1Sjbrunet		i2s_out_ch01_pins: i2s_out_ch01 {
678c16fe9a1Sjbrunet			mux {
679c16fe9a1Sjbrunet				groups = "i2s_out_ch01";
680c16fe9a1Sjbrunet				function = "i2s_out";
6811c5cc1c8SJerome Brunet				bias-disable;
682c16fe9a1Sjbrunet			};
683c16fe9a1Sjbrunet		};
684c16fe9a1Sjbrunet		i2sout_ch23_z_pins: i2sout_ch23_z {
685c16fe9a1Sjbrunet			mux {
686c16fe9a1Sjbrunet				groups = "i2sout_ch23_z";
687c16fe9a1Sjbrunet				function = "i2s_out";
6881c5cc1c8SJerome Brunet				bias-disable;
689c16fe9a1Sjbrunet			};
690c16fe9a1Sjbrunet		};
691c16fe9a1Sjbrunet
692c16fe9a1Sjbrunet		i2sout_ch45_z_pins: i2sout_ch45_z {
693c16fe9a1Sjbrunet			mux {
694c16fe9a1Sjbrunet				groups = "i2sout_ch45_z";
695c16fe9a1Sjbrunet				function = "i2s_out";
6961c5cc1c8SJerome Brunet				bias-disable;
697c16fe9a1Sjbrunet			};
698c16fe9a1Sjbrunet		};
699c16fe9a1Sjbrunet
700c16fe9a1Sjbrunet		i2sout_ch67_z_pins: i2sout_ch67_z {
701c16fe9a1Sjbrunet			mux {
702c16fe9a1Sjbrunet				groups = "i2sout_ch67_z";
703c16fe9a1Sjbrunet				function = "i2s_out";
7041c5cc1c8SJerome Brunet				bias-disable;
705c16fe9a1Sjbrunet			};
706c16fe9a1Sjbrunet		};
7079503062dSjbrunet
7089503062dSjbrunet		spdif_out_h_pins: spdif_out_ao_h {
7099503062dSjbrunet			mux {
7109503062dSjbrunet				groups = "spdif_out_h";
7119503062dSjbrunet				function = "spdif_out";
7121c5cc1c8SJerome Brunet				bias-disable;
7139503062dSjbrunet			};
7149503062dSjbrunet		};
715fb0fe922SNeil Armstrong	};
716e9e27c64SNeil Armstrong
717e9e27c64SNeil Armstrong	eth-phy-mux {
718e9e27c64SNeil Armstrong		compatible = "mdio-mux-mmioreg", "mdio-mux";
719e9e27c64SNeil Armstrong		#address-cells = <1>;
720e9e27c64SNeil Armstrong		#size-cells = <0>;
721e9e27c64SNeil Armstrong		reg = <0x0 0x55c 0x0 0x4>;
722e9e27c64SNeil Armstrong		mux-mask = <0xffffffff>;
723e9e27c64SNeil Armstrong		mdio-parent-bus = <&mdio0>;
724e9e27c64SNeil Armstrong
725e9e27c64SNeil Armstrong		internal_mdio: mdio@e40908ff {
726e9e27c64SNeil Armstrong			reg = <0xe40908ff>;
727e9e27c64SNeil Armstrong			#address-cells = <1>;
728e9e27c64SNeil Armstrong			#size-cells = <0>;
729e9e27c64SNeil Armstrong
730e9e27c64SNeil Armstrong			internal_phy: ethernet-phy@8 {
73149ee7f85SNeil Armstrong				compatible = "ethernet-phy-id0181.4400";
7322363ec93SJerome Brunet				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
733e9e27c64SNeil Armstrong				reg = <8>;
734e9e27c64SNeil Armstrong				max-speed = <100>;
735e9e27c64SNeil Armstrong			};
736e9e27c64SNeil Armstrong		};
737e9e27c64SNeil Armstrong
738e9e27c64SNeil Armstrong		external_mdio: mdio@2009087f {
739e9e27c64SNeil Armstrong			reg = <0x2009087f>;
740e9e27c64SNeil Armstrong			#address-cells = <1>;
741e9e27c64SNeil Armstrong			#size-cells = <0>;
742e9e27c64SNeil Armstrong		};
743e9e27c64SNeil Armstrong	};
744fb0fe922SNeil Armstrong};
745973fbd55SNeil Armstrong
74674d1c6e9SNeil Armstrong&pwrc_vpu {
74774d1c6e9SNeil Armstrong	resets = <&reset RESET_VIU>,
74874d1c6e9SNeil Armstrong		 <&reset RESET_VENC>,
74974d1c6e9SNeil Armstrong		 <&reset RESET_VCBUS>,
75074d1c6e9SNeil Armstrong		 <&reset RESET_BT656>,
75174d1c6e9SNeil Armstrong		 <&reset RESET_DVIN_RESET>,
75274d1c6e9SNeil Armstrong		 <&reset RESET_RDMA>,
75374d1c6e9SNeil Armstrong		 <&reset RESET_VENCI>,
75474d1c6e9SNeil Armstrong		 <&reset RESET_VENCP>,
75574d1c6e9SNeil Armstrong		 <&reset RESET_VDAC>,
75674d1c6e9SNeil Armstrong		 <&reset RESET_VDI6>,
75774d1c6e9SNeil Armstrong		 <&reset RESET_VENCL>,
75874d1c6e9SNeil Armstrong		 <&reset RESET_VID_LOCK>;
75974d1c6e9SNeil Armstrong	clocks = <&clkc CLKID_VPU>,
76074d1c6e9SNeil Armstrong	         <&clkc CLKID_VAPB>;
76174d1c6e9SNeil Armstrong	clock-names = "vpu", "vapb";
76274d1c6e9SNeil Armstrong	/*
76374d1c6e9SNeil Armstrong	 * VPU clocking is provided by two identical clock paths
76474d1c6e9SNeil Armstrong	 * VPU_0 and VPU_1 muxed to a single clock by a glitch
76574d1c6e9SNeil Armstrong	 * free mux to safely change frequency while running.
76674d1c6e9SNeil Armstrong	 * Same for VAPB but with a final gate after the glitch free mux.
76774d1c6e9SNeil Armstrong	 */
76874d1c6e9SNeil Armstrong	assigned-clocks = <&clkc CLKID_VPU_0_SEL>,
76974d1c6e9SNeil Armstrong			  <&clkc CLKID_VPU_0>,
77074d1c6e9SNeil Armstrong			  <&clkc CLKID_VPU>, /* Glitch free mux */
77174d1c6e9SNeil Armstrong			  <&clkc CLKID_VAPB_0_SEL>,
77274d1c6e9SNeil Armstrong			  <&clkc CLKID_VAPB_0>,
77374d1c6e9SNeil Armstrong			  <&clkc CLKID_VAPB_SEL>; /* Glitch free mux */
77474d1c6e9SNeil Armstrong	assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>,
77574d1c6e9SNeil Armstrong				 <0>, /* Do Nothing */
77674d1c6e9SNeil Armstrong				 <&clkc CLKID_VPU_0>,
77774d1c6e9SNeil Armstrong				 <&clkc CLKID_FCLK_DIV4>,
77874d1c6e9SNeil Armstrong				 <0>, /* Do Nothing */
77974d1c6e9SNeil Armstrong				 <&clkc CLKID_VAPB_0>;
78074d1c6e9SNeil Armstrong	assigned-clock-rates = <0>, /* Do Nothing */
78174d1c6e9SNeil Armstrong			       <666666666>,
78274d1c6e9SNeil Armstrong			       <0>, /* Do Nothing */
78374d1c6e9SNeil Armstrong			       <0>, /* Do Nothing */
78474d1c6e9SNeil Armstrong			       <250000000>,
78574d1c6e9SNeil Armstrong			       <0>; /* Do Nothing */
78674d1c6e9SNeil Armstrong};
78774d1c6e9SNeil Armstrong
788bd80ef5eSMartin Blumenstingl&saradc {
789bd80ef5eSMartin Blumenstingl	compatible = "amlogic,meson-gxl-saradc", "amlogic,meson-saradc";
790bd80ef5eSMartin Blumenstingl	clocks = <&xtal>,
791bd80ef5eSMartin Blumenstingl		 <&clkc CLKID_SAR_ADC>,
792bd80ef5eSMartin Blumenstingl		 <&clkc CLKID_SAR_ADC_CLK>,
793bd80ef5eSMartin Blumenstingl		 <&clkc CLKID_SAR_ADC_SEL>;
794e102da49SXingyu Chen	clock-names = "clkin", "core", "adc_clk", "adc_sel";
795bd80ef5eSMartin Blumenstingl};
796bd80ef5eSMartin Blumenstingl
7976d489dc8SNeil Armstrong&sd_emmc_a {
7986d489dc8SNeil Armstrong	clocks = <&clkc CLKID_SD_EMMC_A>,
79950662499SJerome Brunet		 <&clkc CLKID_SD_EMMC_A_CLK0>,
8006d489dc8SNeil Armstrong		 <&clkc CLKID_FCLK_DIV2>;
8016d489dc8SNeil Armstrong	clock-names = "core", "clkin0", "clkin1";
802098e5303SJerome Brunet	resets = <&reset RESET_SD_EMMC_A>;
8036d489dc8SNeil Armstrong};
8046d489dc8SNeil Armstrong
8056d489dc8SNeil Armstrong&sd_emmc_b {
8066d489dc8SNeil Armstrong	clocks = <&clkc CLKID_SD_EMMC_B>,
80750662499SJerome Brunet		 <&clkc CLKID_SD_EMMC_B_CLK0>,
8086d489dc8SNeil Armstrong		 <&clkc CLKID_FCLK_DIV2>;
8096d489dc8SNeil Armstrong	clock-names = "core", "clkin0", "clkin1";
810098e5303SJerome Brunet	resets = <&reset RESET_SD_EMMC_B>;
8116d489dc8SNeil Armstrong};
8126d489dc8SNeil Armstrong
8136d489dc8SNeil Armstrong&sd_emmc_c {
8146d489dc8SNeil Armstrong	clocks = <&clkc CLKID_SD_EMMC_C>,
81550662499SJerome Brunet		 <&clkc CLKID_SD_EMMC_C_CLK0>,
8166d489dc8SNeil Armstrong		 <&clkc CLKID_FCLK_DIV2>;
8176d489dc8SNeil Armstrong	clock-names = "core", "clkin0", "clkin1";
818098e5303SJerome Brunet	resets = <&reset RESET_SD_EMMC_C>;
8196d489dc8SNeil Armstrong};
820fafdbdf7SNeil Armstrong
82103b37035SMaxime Jourdan&simplefb_hdmi {
82203b37035SMaxime Jourdan	clocks = <&clkc CLKID_HDMI_PCLK>,
82303b37035SMaxime Jourdan		 <&clkc CLKID_CLK81>,
82403b37035SMaxime Jourdan		 <&clkc CLKID_GCLK_VENCI_INT0>;
82503b37035SMaxime Jourdan};
82603b37035SMaxime Jourdan
827fa808631SNeil Armstrong&spicc {
828fa808631SNeil Armstrong	clocks = <&clkc CLKID_SPICC>;
829fa808631SNeil Armstrong	clock-names = "core";
830fa808631SNeil Armstrong	resets = <&reset RESET_PERIPHS_SPICC>;
831fa808631SNeil Armstrong	num-cs = <1>;
832fa808631SNeil Armstrong};
833fa808631SNeil Armstrong
83404b36df4SNeil Armstrong&spifc {
83504b36df4SNeil Armstrong	clocks = <&clkc CLKID_SPI>;
83604b36df4SNeil Armstrong};
83704b36df4SNeil Armstrong
838f72d6f60SHelmut Klein&uart_A {
839f72d6f60SHelmut Klein	clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
84039005e56SNeil Armstrong	clock-names = "xtal", "pclk", "baud";
841f72d6f60SHelmut Klein};
842f72d6f60SHelmut Klein
843f72d6f60SHelmut Klein&uart_AO {
8449adda353SYixun Lan	clocks = <&xtal>, <&clkc_AO CLKID_AO_UART1>, <&xtal>;
845f72d6f60SHelmut Klein	clock-names = "xtal", "pclk", "baud";
846f72d6f60SHelmut Klein};
847f72d6f60SHelmut Klein
848f72d6f60SHelmut Klein&uart_AO_B {
8499adda353SYixun Lan	clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
850f72d6f60SHelmut Klein	clock-names = "xtal", "pclk", "baud";
851f72d6f60SHelmut Klein};
852f72d6f60SHelmut Klein
853f72d6f60SHelmut Klein&uart_B {
854f72d6f60SHelmut Klein	clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
85539005e56SNeil Armstrong	clock-names = "xtal", "pclk", "baud";
856f72d6f60SHelmut Klein};
857f72d6f60SHelmut Klein
858f72d6f60SHelmut Klein&uart_C {
859f72d6f60SHelmut Klein	clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>;
86039005e56SNeil Armstrong	clock-names = "xtal", "pclk", "baud";
861f72d6f60SHelmut Klein};
862f72d6f60SHelmut Klein
863fafdbdf7SNeil Armstrong&vpu {
864fafdbdf7SNeil Armstrong	compatible = "amlogic,meson-gxl-vpu", "amlogic,meson-gx-vpu";
86574d1c6e9SNeil Armstrong	power-domains = <&pwrc_vpu>;
866fafdbdf7SNeil Armstrong};
8674be247f7SMaxime Jourdan
8684be247f7SMaxime Jourdan&vdec {
8694be247f7SMaxime Jourdan	compatible = "amlogic,gxl-vdec", "amlogic,gx-vdec";
8704be247f7SMaxime Jourdan	clocks = <&clkc CLKID_DOS_PARSER>,
8714be247f7SMaxime Jourdan		 <&clkc CLKID_DOS>,
8724be247f7SMaxime Jourdan		 <&clkc CLKID_VDEC_1>,
8734be247f7SMaxime Jourdan		 <&clkc CLKID_VDEC_HEVC>;
8744be247f7SMaxime Jourdan	clock-names = "dos_parser", "dos", "vdec_1", "vdec_hevc";
8754be247f7SMaxime Jourdan	resets = <&reset RESET_PARSER>;
8764be247f7SMaxime Jourdan	reset-names = "esparser";
8774be247f7SMaxime Jourdan};
878