xref: /freebsd/sys/contrib/device-tree/src/arm64/mediatek/mt6797-x20-dev.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * Device Tree Source for MediaTek X20 Development Board
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright (C) 2018, Linaro Ltd.
6*c66ec88fSEmmanuel Vadot *
7*c66ec88fSEmmanuel Vadot */
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot/dts-v1/;
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot#include "mt6797.dtsi"
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot/ {
14*c66ec88fSEmmanuel Vadot	model = "Mediatek X20 Development Board";
15*c66ec88fSEmmanuel Vadot	compatible = "archermind,mt6797-x20-dev", "mediatek,mt6797";
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot	aliases {
18*c66ec88fSEmmanuel Vadot		serial0 = &uart1;
19*c66ec88fSEmmanuel Vadot	};
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	memory@40000000 {
22*c66ec88fSEmmanuel Vadot		device_type = "memory";
23*c66ec88fSEmmanuel Vadot		reg = <0 0x40000000 0 0x80000000>;
24*c66ec88fSEmmanuel Vadot	};
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot	chosen {
27*c66ec88fSEmmanuel Vadot		stdout-path = "serial0:115200n8";
28*c66ec88fSEmmanuel Vadot	};
29*c66ec88fSEmmanuel Vadot};
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel Vadot/* HDMI */
32*c66ec88fSEmmanuel Vadot&i2c1 {
33*c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
34*c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c1_pins_a>;
35*c66ec88fSEmmanuel Vadot	status = "okay";
36*c66ec88fSEmmanuel Vadot};
37*c66ec88fSEmmanuel Vadot
38*c66ec88fSEmmanuel Vadot/* HS - I2C2 */
39*c66ec88fSEmmanuel Vadot&i2c2 {
40*c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
41*c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c2_pins_a>;
42*c66ec88fSEmmanuel Vadot	status = "okay";
43*c66ec88fSEmmanuel Vadot};
44*c66ec88fSEmmanuel Vadot
45*c66ec88fSEmmanuel Vadot/* HS - I2C3 */
46*c66ec88fSEmmanuel Vadot&i2c3 {
47*c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
48*c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c3_pins_a>;
49*c66ec88fSEmmanuel Vadot	status = "okay";
50*c66ec88fSEmmanuel Vadot};
51*c66ec88fSEmmanuel Vadot
52*c66ec88fSEmmanuel Vadot/* LS - I2C0 */
53*c66ec88fSEmmanuel Vadot&i2c4 {
54*c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
55*c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c4_pins_a>;
56*c66ec88fSEmmanuel Vadot	status = "okay";
57*c66ec88fSEmmanuel Vadot};
58*c66ec88fSEmmanuel Vadot
59*c66ec88fSEmmanuel Vadot/* LS - I2C1 */
60*c66ec88fSEmmanuel Vadot&i2c5 {
61*c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
62*c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c5_pins_a>;
63*c66ec88fSEmmanuel Vadot	status = "okay";
64*c66ec88fSEmmanuel Vadot};
65*c66ec88fSEmmanuel Vadot
66*c66ec88fSEmmanuel Vadot/* POWER_VPROC */
67*c66ec88fSEmmanuel Vadot&i2c6 {
68*c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
69*c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c6_pins_a>;
70*c66ec88fSEmmanuel Vadot	status = "okay";
71*c66ec88fSEmmanuel Vadot};
72*c66ec88fSEmmanuel Vadot
73*c66ec88fSEmmanuel Vadot/* FAN53555 */
74*c66ec88fSEmmanuel Vadot&i2c7 {
75*c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
76*c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c7_pins_a>;
77*c66ec88fSEmmanuel Vadot	status = "okay";
78*c66ec88fSEmmanuel Vadot};
79*c66ec88fSEmmanuel Vadot
80*c66ec88fSEmmanuel Vadot&uart1 {
81*c66ec88fSEmmanuel Vadot	status = "okay";
82*c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
83*c66ec88fSEmmanuel Vadot	pinctrl-0 = <&uart1_pins_a>;
84*c66ec88fSEmmanuel Vadot};
85