xref: /linux/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi (revision ca02e3f9b1853ff82565a3262146a710f5af7ebb)
115abee8aSCarlo Caione/*
215abee8aSCarlo Caione * Copyright (c) 2016 Endless Computers, Inc.
315abee8aSCarlo Caione * Author: Carlo Caione <carlo@endlessm.com>
415abee8aSCarlo Caione *
515abee8aSCarlo Caione * This file is dual-licensed: you can use it either under the terms
615abee8aSCarlo Caione * of the GPL or the X11 license, at your option. Note that this dual
715abee8aSCarlo Caione * licensing only applies to this file, and not this project as a
815abee8aSCarlo Caione * whole.
915abee8aSCarlo Caione *
1015abee8aSCarlo Caione *  a) This library is free software; you can redistribute it and/or
1115abee8aSCarlo Caione *     modify it under the terms of the GNU General Public License as
1215abee8aSCarlo Caione *     published by the Free Software Foundation; either version 2 of the
1315abee8aSCarlo Caione *     License, or (at your option) any later version.
1415abee8aSCarlo Caione *
1515abee8aSCarlo Caione *     This library is distributed in the hope that it will be useful,
1615abee8aSCarlo Caione *     but WITHOUT ANY WARRANTY; without even the implied warranty of
1715abee8aSCarlo Caione *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1815abee8aSCarlo Caione *     GNU General Public License for more details.
1915abee8aSCarlo Caione *
2015abee8aSCarlo Caione * Or, alternatively,
2115abee8aSCarlo Caione *
2215abee8aSCarlo Caione *  b) Permission is hereby granted, free of charge, to any person
2315abee8aSCarlo Caione *     obtaining a copy of this software and associated documentation
2415abee8aSCarlo Caione *     files (the "Software"), to deal in the Software without
2515abee8aSCarlo Caione *     restriction, including without limitation the rights to use,
2615abee8aSCarlo Caione *     copy, modify, merge, publish, distribute, sublicense, and/or
2715abee8aSCarlo Caione *     sell copies of the Software, and to permit persons to whom the
2815abee8aSCarlo Caione *     Software is furnished to do so, subject to the following
2915abee8aSCarlo Caione *     conditions:
3015abee8aSCarlo Caione *
3115abee8aSCarlo Caione *     The above copyright notice and this permission notice shall be
3215abee8aSCarlo Caione *     included in all copies or substantial portions of the Software.
3315abee8aSCarlo Caione *
3415abee8aSCarlo Caione *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
3515abee8aSCarlo Caione *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
3615abee8aSCarlo Caione *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
3715abee8aSCarlo Caione *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
3815abee8aSCarlo Caione *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
3915abee8aSCarlo Caione *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
4015abee8aSCarlo Caione *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
4115abee8aSCarlo Caione *     OTHER DEALINGS IN THE SOFTWARE.
4215abee8aSCarlo Caione */
4315abee8aSCarlo Caione
4415abee8aSCarlo Caione#include "meson-gx.dtsi"
45973fbd55SNeil Armstrong#include <dt-bindings/clock/gxbb-clkc.h>
461cf3df8aSKevin Hilman#include <dt-bindings/gpio/meson-gxl-gpio.h>
4715abee8aSCarlo Caione
4815abee8aSCarlo Caione/ {
4915abee8aSCarlo Caione	compatible = "amlogic,meson-gxl";
5015abee8aSCarlo Caione};
51fb0fe922SNeil Armstrong
52e9e27c64SNeil Armstrong&ethmac {
53e9e27c64SNeil Armstrong	reg = <0x0 0xc9410000 0x0 0x10000
54e9e27c64SNeil Armstrong	       0x0 0xc8834540 0x0 0x4>;
55e9e27c64SNeil Armstrong
56e9e27c64SNeil Armstrong	clocks = <&clkc CLKID_ETH>,
57e9e27c64SNeil Armstrong		 <&clkc CLKID_FCLK_DIV2>,
58e9e27c64SNeil Armstrong		 <&clkc CLKID_MPLL2>;
59e9e27c64SNeil Armstrong	clock-names = "stmmaceth", "clkin0", "clkin1";
60e9e27c64SNeil Armstrong
61e9e27c64SNeil Armstrong	mdio0: mdio {
62e9e27c64SNeil Armstrong		#address-cells = <1>;
63e9e27c64SNeil Armstrong		#size-cells = <0>;
64e9e27c64SNeil Armstrong		compatible = "snps,dwmac-mdio";
65e9e27c64SNeil Armstrong	};
66e9e27c64SNeil Armstrong};
67e9e27c64SNeil Armstrong
68fb0fe922SNeil Armstrong&aobus {
69fb0fe922SNeil Armstrong	pinctrl_aobus: pinctrl@14 {
70fb0fe922SNeil Armstrong		compatible = "amlogic,meson-gxl-aobus-pinctrl";
71fb0fe922SNeil Armstrong		#address-cells = <2>;
72fb0fe922SNeil Armstrong		#size-cells = <2>;
73fb0fe922SNeil Armstrong		ranges;
74fb0fe922SNeil Armstrong
75fb0fe922SNeil Armstrong		gpio_ao: bank@14 {
76fb0fe922SNeil Armstrong			reg = <0x0 0x00014 0x0 0x8>,
77fb0fe922SNeil Armstrong			      <0x0 0x0002c 0x0 0x4>,
78fb0fe922SNeil Armstrong			      <0x0 0x00024 0x0 0x8>;
79fb0fe922SNeil Armstrong			reg-names = "mux", "pull", "gpio";
80fb0fe922SNeil Armstrong			gpio-controller;
81fb0fe922SNeil Armstrong			#gpio-cells = <2>;
82fb0fe922SNeil Armstrong		};
83fb0fe922SNeil Armstrong
84fb0fe922SNeil Armstrong		uart_ao_a_pins: uart_ao_a {
85fb0fe922SNeil Armstrong			mux {
86fb0fe922SNeil Armstrong				groups = "uart_tx_ao_a", "uart_rx_ao_a";
87fb0fe922SNeil Armstrong				function = "uart_ao";
88fb0fe922SNeil Armstrong			};
89fb0fe922SNeil Armstrong		};
90fb0fe922SNeil Armstrong
91261e1d5cSMartin Blumenstingl		uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
92261e1d5cSMartin Blumenstingl			mux {
93261e1d5cSMartin Blumenstingl				groups = "uart_cts_ao_a",
94261e1d5cSMartin Blumenstingl				       "uart_rts_ao_a";
95261e1d5cSMartin Blumenstingl				function = "uart_ao";
96261e1d5cSMartin Blumenstingl			};
97261e1d5cSMartin Blumenstingl		};
98261e1d5cSMartin Blumenstingl
99890a96a2SMartin Blumenstingl		uart_ao_b_pins: uart_ao_b {
100890a96a2SMartin Blumenstingl			mux {
101890a96a2SMartin Blumenstingl				groups = "uart_tx_ao_b", "uart_rx_ao_b";
102890a96a2SMartin Blumenstingl				function = "uart_ao_b";
103890a96a2SMartin Blumenstingl			};
104890a96a2SMartin Blumenstingl		};
105890a96a2SMartin Blumenstingl
106*ca02e3f9SNeil Armstrong		uart_ao_b_0_1_pins: uart_ao_b_0_1 {
107*ca02e3f9SNeil Armstrong			mux {
108*ca02e3f9SNeil Armstrong				groups = "uart_tx_ao_b_0", "uart_rx_ao_b_1";
109*ca02e3f9SNeil Armstrong				function = "uart_ao_b";
110*ca02e3f9SNeil Armstrong			};
111*ca02e3f9SNeil Armstrong		};
112*ca02e3f9SNeil Armstrong
113261e1d5cSMartin Blumenstingl		uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
114261e1d5cSMartin Blumenstingl			mux {
115261e1d5cSMartin Blumenstingl				groups = "uart_cts_ao_b",
116261e1d5cSMartin Blumenstingl				       "uart_rts_ao_b";
117261e1d5cSMartin Blumenstingl				function = "uart_ao_b";
118261e1d5cSMartin Blumenstingl			};
119261e1d5cSMartin Blumenstingl		};
120261e1d5cSMartin Blumenstingl
121fb0fe922SNeil Armstrong		remote_input_ao_pins: remote_input_ao {
122fb0fe922SNeil Armstrong			mux {
123fb0fe922SNeil Armstrong				groups = "remote_input_ao";
124fb0fe922SNeil Armstrong				function = "remote_input_ao";
125fb0fe922SNeil Armstrong			};
126fb0fe922SNeil Armstrong		};
127249a2243SMartin Blumenstingl
128*ca02e3f9SNeil Armstrong		i2c_ao_pins: i2c_ao {
129*ca02e3f9SNeil Armstrong			mux {
130*ca02e3f9SNeil Armstrong				groups = "i2c_sck_ao",
131*ca02e3f9SNeil Armstrong				       "i2c_sda_ao";
132*ca02e3f9SNeil Armstrong				function = "i2c_ao";
133*ca02e3f9SNeil Armstrong			};
134*ca02e3f9SNeil Armstrong		};
135*ca02e3f9SNeil Armstrong
136e98fd134SMartin Blumenstingl		pwm_ao_a_3_pins: pwm_ao_a_3 {
137e98fd134SMartin Blumenstingl			mux {
138e98fd134SMartin Blumenstingl				groups = "pwm_ao_a_3";
139e98fd134SMartin Blumenstingl				function = "pwm_ao_a";
140e98fd134SMartin Blumenstingl			};
141e98fd134SMartin Blumenstingl		};
142e98fd134SMartin Blumenstingl
143e98fd134SMartin Blumenstingl		pwm_ao_a_8_pins: pwm_ao_a_8 {
144e98fd134SMartin Blumenstingl			mux {
145e98fd134SMartin Blumenstingl				groups = "pwm_ao_a_8";
146e98fd134SMartin Blumenstingl				function = "pwm_ao_a";
147e98fd134SMartin Blumenstingl			};
148e98fd134SMartin Blumenstingl		};
149e98fd134SMartin Blumenstingl
150249a2243SMartin Blumenstingl		pwm_ao_b_pins: pwm_ao_b {
151249a2243SMartin Blumenstingl			mux {
152249a2243SMartin Blumenstingl				groups = "pwm_ao_b";
153249a2243SMartin Blumenstingl				function = "pwm_ao_b";
154249a2243SMartin Blumenstingl			};
155249a2243SMartin Blumenstingl		};
156*ca02e3f9SNeil Armstrong
157*ca02e3f9SNeil Armstrong		pwm_ao_b_6_pins: pwm_ao_b_6 {
158*ca02e3f9SNeil Armstrong			mux {
159*ca02e3f9SNeil Armstrong				groups = "pwm_ao_b_6";
160*ca02e3f9SNeil Armstrong				function = "pwm_ao_b";
161*ca02e3f9SNeil Armstrong			};
162*ca02e3f9SNeil Armstrong		};
163fb0fe922SNeil Armstrong	};
164fb0fe922SNeil Armstrong};
165fb0fe922SNeil Armstrong
166fb0fe922SNeil Armstrong&periphs {
167fb0fe922SNeil Armstrong	pinctrl_periphs: pinctrl@4b0 {
168fb0fe922SNeil Armstrong		compatible = "amlogic,meson-gxl-periphs-pinctrl";
169fb0fe922SNeil Armstrong		#address-cells = <2>;
170fb0fe922SNeil Armstrong		#size-cells = <2>;
171fb0fe922SNeil Armstrong		ranges;
172fb0fe922SNeil Armstrong
173fb0fe922SNeil Armstrong		gpio: bank@4b0 {
174fb0fe922SNeil Armstrong			reg = <0x0 0x004b0 0x0 0x28>,
175fb0fe922SNeil Armstrong			      <0x0 0x004e8 0x0 0x14>,
176fb0fe922SNeil Armstrong			      <0x0 0x00120 0x0 0x14>,
177fb0fe922SNeil Armstrong			      <0x0 0x00430 0x0 0x40>;
178fb0fe922SNeil Armstrong			reg-names = "mux", "pull", "pull-enable", "gpio";
179fb0fe922SNeil Armstrong			gpio-controller;
180fb0fe922SNeil Armstrong			#gpio-cells = <2>;
181fb0fe922SNeil Armstrong		};
182fb0fe922SNeil Armstrong
183fb0fe922SNeil Armstrong		emmc_pins: emmc {
184fb0fe922SNeil Armstrong			mux {
185fb0fe922SNeil Armstrong				groups = "emmc_nand_d07",
186fb0fe922SNeil Armstrong				       "emmc_cmd",
187fb0fe922SNeil Armstrong				       "emmc_clk",
188fb0fe922SNeil Armstrong				       "emmc_ds";
189fb0fe922SNeil Armstrong				function = "emmc";
190fb0fe922SNeil Armstrong			};
191fb0fe922SNeil Armstrong		};
192fb0fe922SNeil Armstrong
193*ca02e3f9SNeil Armstrong		nor_pins: nor {
194*ca02e3f9SNeil Armstrong			mux {
195*ca02e3f9SNeil Armstrong				groups = "nor_d",
196*ca02e3f9SNeil Armstrong				       "nor_q",
197*ca02e3f9SNeil Armstrong				       "nor_c",
198*ca02e3f9SNeil Armstrong				       "nor_cs";
199*ca02e3f9SNeil Armstrong				function = "nor";
200*ca02e3f9SNeil Armstrong			};
201*ca02e3f9SNeil Armstrong		};
202*ca02e3f9SNeil Armstrong
203fb0fe922SNeil Armstrong		sdcard_pins: sdcard {
204fb0fe922SNeil Armstrong			mux {
205fb0fe922SNeil Armstrong				groups = "sdcard_d0",
206fb0fe922SNeil Armstrong				       "sdcard_d1",
207fb0fe922SNeil Armstrong				       "sdcard_d2",
208fb0fe922SNeil Armstrong				       "sdcard_d3",
209fb0fe922SNeil Armstrong				       "sdcard_cmd",
210fb0fe922SNeil Armstrong				       "sdcard_clk";
211fb0fe922SNeil Armstrong				function = "sdcard";
212fb0fe922SNeil Armstrong			};
213fb0fe922SNeil Armstrong		};
214fb0fe922SNeil Armstrong
215fb0fe922SNeil Armstrong		sdio_pins: sdio {
216fb0fe922SNeil Armstrong			mux {
217fb0fe922SNeil Armstrong				groups = "sdio_d0",
218fb0fe922SNeil Armstrong				       "sdio_d1",
219fb0fe922SNeil Armstrong				       "sdio_d2",
220fb0fe922SNeil Armstrong				       "sdio_d3",
221fb0fe922SNeil Armstrong				       "sdio_cmd",
222fb0fe922SNeil Armstrong				       "sdio_clk";
223fb0fe922SNeil Armstrong				function = "sdio";
224fb0fe922SNeil Armstrong			};
225fb0fe922SNeil Armstrong		};
226fb0fe922SNeil Armstrong
227fb0fe922SNeil Armstrong		sdio_irq_pins: sdio_irq {
228fb0fe922SNeil Armstrong			mux {
229fb0fe922SNeil Armstrong				groups = "sdio_irq";
230fb0fe922SNeil Armstrong				function = "sdio";
231fb0fe922SNeil Armstrong			};
232fb0fe922SNeil Armstrong		};
233fb0fe922SNeil Armstrong
234fb0fe922SNeil Armstrong		uart_a_pins: uart_a {
235fb0fe922SNeil Armstrong			mux {
236fb0fe922SNeil Armstrong				groups = "uart_tx_a",
237fb0fe922SNeil Armstrong				       "uart_rx_a";
238fb0fe922SNeil Armstrong				function = "uart_a";
239fb0fe922SNeil Armstrong			};
240fb0fe922SNeil Armstrong		};
241fb0fe922SNeil Armstrong
242261e1d5cSMartin Blumenstingl		uart_a_cts_rts_pins: uart_a_cts_rts {
243261e1d5cSMartin Blumenstingl			mux {
244261e1d5cSMartin Blumenstingl				groups = "uart_cts_a",
245261e1d5cSMartin Blumenstingl				       "uart_rts_a";
246261e1d5cSMartin Blumenstingl				function = "uart_a";
247261e1d5cSMartin Blumenstingl			};
248261e1d5cSMartin Blumenstingl		};
249261e1d5cSMartin Blumenstingl
250fb0fe922SNeil Armstrong		uart_b_pins: uart_b {
251fb0fe922SNeil Armstrong			mux {
252fb0fe922SNeil Armstrong				groups = "uart_tx_b",
253fb0fe922SNeil Armstrong				       "uart_rx_b";
254fb0fe922SNeil Armstrong				function = "uart_b";
255fb0fe922SNeil Armstrong			};
256fb0fe922SNeil Armstrong		};
257fb0fe922SNeil Armstrong
258261e1d5cSMartin Blumenstingl		uart_b_cts_rts_pins: uart_b_cts_rts {
259261e1d5cSMartin Blumenstingl			mux {
260261e1d5cSMartin Blumenstingl				groups = "uart_cts_b",
261261e1d5cSMartin Blumenstingl				       "uart_rts_b";
262261e1d5cSMartin Blumenstingl				function = "uart_b";
263261e1d5cSMartin Blumenstingl			};
264261e1d5cSMartin Blumenstingl		};
265261e1d5cSMartin Blumenstingl
266fb0fe922SNeil Armstrong		uart_c_pins: uart_c {
267fb0fe922SNeil Armstrong			mux {
268fb0fe922SNeil Armstrong				groups = "uart_tx_c",
269fb0fe922SNeil Armstrong				       "uart_rx_c";
270fb0fe922SNeil Armstrong				function = "uart_c";
271fb0fe922SNeil Armstrong			};
272fb0fe922SNeil Armstrong		};
273fb0fe922SNeil Armstrong
274261e1d5cSMartin Blumenstingl		uart_c_cts_rts_pins: uart_c_cts_rts {
275261e1d5cSMartin Blumenstingl			mux {
276261e1d5cSMartin Blumenstingl				groups = "uart_cts_c",
277261e1d5cSMartin Blumenstingl				       "uart_rts_c";
278261e1d5cSMartin Blumenstingl				function = "uart_c";
279261e1d5cSMartin Blumenstingl			};
280261e1d5cSMartin Blumenstingl		};
281261e1d5cSMartin Blumenstingl
282fb0fe922SNeil Armstrong		i2c_a_pins: i2c_a {
283fb0fe922SNeil Armstrong			mux {
284fb0fe922SNeil Armstrong				groups = "i2c_sck_a",
285fb0fe922SNeil Armstrong				     "i2c_sda_a";
286fb0fe922SNeil Armstrong				function = "i2c_a";
287fb0fe922SNeil Armstrong			};
288fb0fe922SNeil Armstrong		};
289fb0fe922SNeil Armstrong
290fb0fe922SNeil Armstrong		i2c_b_pins: i2c_b {
291fb0fe922SNeil Armstrong			mux {
292fb0fe922SNeil Armstrong				groups = "i2c_sck_b",
293fb0fe922SNeil Armstrong				      "i2c_sda_b";
294fb0fe922SNeil Armstrong				function = "i2c_b";
295fb0fe922SNeil Armstrong			};
296fb0fe922SNeil Armstrong		};
297fb0fe922SNeil Armstrong
298fb0fe922SNeil Armstrong		i2c_c_pins: i2c_c {
299fb0fe922SNeil Armstrong			mux {
300fb0fe922SNeil Armstrong				groups = "i2c_sck_c",
301fb0fe922SNeil Armstrong				      "i2c_sda_c";
302fb0fe922SNeil Armstrong				function = "i2c_c";
303fb0fe922SNeil Armstrong			};
304fb0fe922SNeil Armstrong		};
305fb0fe922SNeil Armstrong
306fb0fe922SNeil Armstrong		eth_pins: eth_c {
307fb0fe922SNeil Armstrong			mux {
308fb0fe922SNeil Armstrong				groups = "eth_mdio",
309fb0fe922SNeil Armstrong				       "eth_mdc",
310fb0fe922SNeil Armstrong				       "eth_clk_rx_clk",
311fb0fe922SNeil Armstrong				       "eth_rx_dv",
312fb0fe922SNeil Armstrong				       "eth_rxd0",
313fb0fe922SNeil Armstrong				       "eth_rxd1",
314fb0fe922SNeil Armstrong				       "eth_rxd2",
315fb0fe922SNeil Armstrong				       "eth_rxd3",
316fb0fe922SNeil Armstrong				       "eth_rgmii_tx_clk",
317fb0fe922SNeil Armstrong				       "eth_tx_en",
318fb0fe922SNeil Armstrong				       "eth_txd0",
319fb0fe922SNeil Armstrong				       "eth_txd1",
320fb0fe922SNeil Armstrong				       "eth_txd2",
321fb0fe922SNeil Armstrong				       "eth_txd3";
322fb0fe922SNeil Armstrong				function = "eth";
323fb0fe922SNeil Armstrong			};
324fb0fe922SNeil Armstrong		};
325fb0fe922SNeil Armstrong
326e98fd134SMartin Blumenstingl		pwm_a_pins: pwm_a {
327e98fd134SMartin Blumenstingl			mux {
328e98fd134SMartin Blumenstingl				groups = "pwm_a";
329e98fd134SMartin Blumenstingl				function = "pwm_a";
330e98fd134SMartin Blumenstingl			};
331e98fd134SMartin Blumenstingl		};
332e98fd134SMartin Blumenstingl
333e98fd134SMartin Blumenstingl		pwm_b_pins: pwm_b {
334e98fd134SMartin Blumenstingl			mux {
335e98fd134SMartin Blumenstingl				groups = "pwm_b";
336e98fd134SMartin Blumenstingl				function = "pwm_b";
337e98fd134SMartin Blumenstingl			};
338e98fd134SMartin Blumenstingl		};
339e98fd134SMartin Blumenstingl
340e98fd134SMartin Blumenstingl		pwm_c_pins: pwm_c {
341e98fd134SMartin Blumenstingl			mux {
342e98fd134SMartin Blumenstingl				groups = "pwm_c";
343e98fd134SMartin Blumenstingl				function = "pwm_c";
344e98fd134SMartin Blumenstingl			};
345e98fd134SMartin Blumenstingl		};
346e98fd134SMartin Blumenstingl
347e98fd134SMartin Blumenstingl		pwm_d_pins: pwm_d {
348e98fd134SMartin Blumenstingl			mux {
349e98fd134SMartin Blumenstingl				groups = "pwm_d";
350e98fd134SMartin Blumenstingl				function = "pwm_d";
351e98fd134SMartin Blumenstingl			};
352e98fd134SMartin Blumenstingl		};
353e98fd134SMartin Blumenstingl
354fb0fe922SNeil Armstrong		pwm_e_pins: pwm_e {
355fb0fe922SNeil Armstrong			mux {
356fb0fe922SNeil Armstrong				groups = "pwm_e";
357fb0fe922SNeil Armstrong				function = "pwm_e";
358fb0fe922SNeil Armstrong			};
359fb0fe922SNeil Armstrong		};
360b949165cSNeil Armstrong
361e98fd134SMartin Blumenstingl		pwm_f_clk_pins: pwm_f_clk {
362e98fd134SMartin Blumenstingl			mux {
363e98fd134SMartin Blumenstingl				groups = "pwm_f_clk";
364e98fd134SMartin Blumenstingl				function = "pwm_f";
365e98fd134SMartin Blumenstingl			};
366e98fd134SMartin Blumenstingl		};
367e98fd134SMartin Blumenstingl
368e98fd134SMartin Blumenstingl		pwm_f_x_pins: pwm_f_x {
369e98fd134SMartin Blumenstingl			mux {
370e98fd134SMartin Blumenstingl				groups = "pwm_f_x";
371e98fd134SMartin Blumenstingl				function = "pwm_f";
372e98fd134SMartin Blumenstingl			};
373e98fd134SMartin Blumenstingl		};
374e98fd134SMartin Blumenstingl
375b949165cSNeil Armstrong		hdmi_hpd_pins: hdmi_hpd {
376b949165cSNeil Armstrong			mux {
377b949165cSNeil Armstrong				groups = "hdmi_hpd";
378b949165cSNeil Armstrong				function = "hdmi_hpd";
379b949165cSNeil Armstrong			};
380b949165cSNeil Armstrong		};
381b949165cSNeil Armstrong
382b949165cSNeil Armstrong		hdmi_i2c_pins: hdmi_i2c {
383b949165cSNeil Armstrong			mux {
384b949165cSNeil Armstrong				groups = "hdmi_sda", "hdmi_scl";
385b949165cSNeil Armstrong				function = "hdmi_i2c";
386b949165cSNeil Armstrong			};
387b949165cSNeil Armstrong		};
388fb0fe922SNeil Armstrong	};
389e9e27c64SNeil Armstrong
390e9e27c64SNeil Armstrong	eth-phy-mux {
391e9e27c64SNeil Armstrong		compatible = "mdio-mux-mmioreg", "mdio-mux";
392e9e27c64SNeil Armstrong		#address-cells = <1>;
393e9e27c64SNeil Armstrong		#size-cells = <0>;
394e9e27c64SNeil Armstrong		reg = <0x0 0x55c 0x0 0x4>;
395e9e27c64SNeil Armstrong		mux-mask = <0xffffffff>;
396e9e27c64SNeil Armstrong		mdio-parent-bus = <&mdio0>;
397e9e27c64SNeil Armstrong
398e9e27c64SNeil Armstrong		internal_mdio: mdio@e40908ff {
399e9e27c64SNeil Armstrong			reg = <0xe40908ff>;
400e9e27c64SNeil Armstrong			#address-cells = <1>;
401e9e27c64SNeil Armstrong			#size-cells = <0>;
402e9e27c64SNeil Armstrong
403e9e27c64SNeil Armstrong			internal_phy: ethernet-phy@8 {
404e9e27c64SNeil Armstrong				compatible = "ethernet-phy-id0181.4400", "ethernet-phy-ieee802.3-c22";
405e9e27c64SNeil Armstrong				reg = <8>;
406e9e27c64SNeil Armstrong				max-speed = <100>;
407e9e27c64SNeil Armstrong			};
408e9e27c64SNeil Armstrong		};
409e9e27c64SNeil Armstrong
410e9e27c64SNeil Armstrong		external_mdio: mdio@2009087f {
411e9e27c64SNeil Armstrong			reg = <0x2009087f>;
412e9e27c64SNeil Armstrong			#address-cells = <1>;
413e9e27c64SNeil Armstrong			#size-cells = <0>;
414e9e27c64SNeil Armstrong		};
415e9e27c64SNeil Armstrong	};
416fb0fe922SNeil Armstrong};
417973fbd55SNeil Armstrong
418973fbd55SNeil Armstrong&hiubus {
419973fbd55SNeil Armstrong	clkc: clock-controller@0 {
420973fbd55SNeil Armstrong		compatible = "amlogic,gxl-clkc", "amlogic,gxbb-clkc";
421973fbd55SNeil Armstrong		#clock-cells = <1>;
422973fbd55SNeil Armstrong		reg = <0x0 0x0 0x0 0x3db>;
423973fbd55SNeil Armstrong	};
424973fbd55SNeil Armstrong};
4255d28bb01SNeil Armstrong
4265d28bb01SNeil Armstrong&i2c_A {
4275d28bb01SNeil Armstrong	clocks = <&clkc CLKID_I2C>;
4285d28bb01SNeil Armstrong};
4295d28bb01SNeil Armstrong
43004b36df4SNeil Armstrong&i2c_AO {
43104b36df4SNeil Armstrong	clocks = <&clkc CLKID_AO_I2C>;
43204b36df4SNeil Armstrong};
43304b36df4SNeil Armstrong
4345d28bb01SNeil Armstrong&i2c_B {
4355d28bb01SNeil Armstrong	clocks = <&clkc CLKID_I2C>;
4365d28bb01SNeil Armstrong};
4375d28bb01SNeil Armstrong
4385d28bb01SNeil Armstrong&i2c_C {
4395d28bb01SNeil Armstrong	clocks = <&clkc CLKID_I2C>;
4405d28bb01SNeil Armstrong};
4416d489dc8SNeil Armstrong
442bd80ef5eSMartin Blumenstingl&saradc {
443bd80ef5eSMartin Blumenstingl	compatible = "amlogic,meson-gxl-saradc", "amlogic,meson-saradc";
444bd80ef5eSMartin Blumenstingl	clocks = <&xtal>,
445bd80ef5eSMartin Blumenstingl		 <&clkc CLKID_SAR_ADC>,
446bd80ef5eSMartin Blumenstingl		 <&clkc CLKID_SANA>,
447bd80ef5eSMartin Blumenstingl		 <&clkc CLKID_SAR_ADC_CLK>,
448bd80ef5eSMartin Blumenstingl		 <&clkc CLKID_SAR_ADC_SEL>;
449bd80ef5eSMartin Blumenstingl	clock-names = "clkin", "core", "sana", "adc_clk", "adc_sel";
450bd80ef5eSMartin Blumenstingl};
451bd80ef5eSMartin Blumenstingl
4526d489dc8SNeil Armstrong&sd_emmc_a {
4536d489dc8SNeil Armstrong	clocks = <&clkc CLKID_SD_EMMC_A>,
4546d489dc8SNeil Armstrong		 <&xtal>,
4556d489dc8SNeil Armstrong		 <&clkc CLKID_FCLK_DIV2>;
4566d489dc8SNeil Armstrong	clock-names = "core", "clkin0", "clkin1";
4576d489dc8SNeil Armstrong};
4586d489dc8SNeil Armstrong
4596d489dc8SNeil Armstrong&sd_emmc_b {
4606d489dc8SNeil Armstrong	clocks = <&clkc CLKID_SD_EMMC_B>,
4616d489dc8SNeil Armstrong		 <&xtal>,
4626d489dc8SNeil Armstrong		 <&clkc CLKID_FCLK_DIV2>;
4636d489dc8SNeil Armstrong       clock-names = "core", "clkin0", "clkin1";
4646d489dc8SNeil Armstrong};
4656d489dc8SNeil Armstrong
4666d489dc8SNeil Armstrong&sd_emmc_c {
4676d489dc8SNeil Armstrong	clocks = <&clkc CLKID_SD_EMMC_C>,
4686d489dc8SNeil Armstrong		 <&xtal>,
4696d489dc8SNeil Armstrong		 <&clkc CLKID_FCLK_DIV2>;
4706d489dc8SNeil Armstrong	clock-names = "core", "clkin0", "clkin1";
4716d489dc8SNeil Armstrong};
472fafdbdf7SNeil Armstrong
47304b36df4SNeil Armstrong&spifc {
47404b36df4SNeil Armstrong	clocks = <&clkc CLKID_SPI>;
47504b36df4SNeil Armstrong};
47604b36df4SNeil Armstrong
477fafdbdf7SNeil Armstrong&vpu {
478fafdbdf7SNeil Armstrong	compatible = "amlogic,meson-gxl-vpu", "amlogic,meson-gx-vpu";
479fafdbdf7SNeil Armstrong};
480