xref: /freebsd-src/sys/contrib/device-tree/src/arm/intel/socfpga/socfpga_arria10_chameleonv3.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2022 Google LLC
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot/dts-v1/;
6*f126890aSEmmanuel Vadot#include "socfpga_arria10_mercury_aa1.dtsi"
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	model = "Google Chameleon V3";
10*f126890aSEmmanuel Vadot	compatible = "google,chameleon-v3", "enclustra,mercury-aa1",
11*f126890aSEmmanuel Vadot		     "altr,socfpga-arria10", "altr,socfpga";
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot	aliases {
14*f126890aSEmmanuel Vadot		serial0 = &uart0;
15*f126890aSEmmanuel Vadot		i2c0 = &i2c0;
16*f126890aSEmmanuel Vadot		i2c1 = &i2c1;
17*f126890aSEmmanuel Vadot	};
18*f126890aSEmmanuel Vadot};
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot&gmac0 {
21*f126890aSEmmanuel Vadot	status = "okay";
22*f126890aSEmmanuel Vadot};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot&gpio0 {
25*f126890aSEmmanuel Vadot	status = "okay";
26*f126890aSEmmanuel Vadot};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot&gpio1 {
29*f126890aSEmmanuel Vadot	status = "okay";
30*f126890aSEmmanuel Vadot};
31*f126890aSEmmanuel Vadot
32*f126890aSEmmanuel Vadot&gpio2 {
33*f126890aSEmmanuel Vadot	status = "okay";
34*f126890aSEmmanuel Vadot};
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadot&i2c0 {
37*f126890aSEmmanuel Vadot	status = "okay";
38*f126890aSEmmanuel Vadot
39*f126890aSEmmanuel Vadot	ssm2603: audio-codec@1a {
40*f126890aSEmmanuel Vadot		compatible = "adi,ssm2603";
41*f126890aSEmmanuel Vadot		reg = <0x1a>;
42*f126890aSEmmanuel Vadot	};
43*f126890aSEmmanuel Vadot};
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot&i2c1 {
46*f126890aSEmmanuel Vadot	status = "okay";
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot	u80: gpio@21 {
49*f126890aSEmmanuel Vadot		compatible = "nxp,pca9535";
50*f126890aSEmmanuel Vadot		reg = <0x21>;
51*f126890aSEmmanuel Vadot		gpio-controller;
52*f126890aSEmmanuel Vadot		#gpio-cells = <2>;
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadot		gpio-line-names =
55*f126890aSEmmanuel Vadot			"SOM_AUD_MUTE",
56*f126890aSEmmanuel Vadot			"DP1_OUT_CEC_EN",
57*f126890aSEmmanuel Vadot			"DP2_OUT_CEC_EN",
58*f126890aSEmmanuel Vadot			"DP1_SOM_PS8469_CAD",
59*f126890aSEmmanuel Vadot			"DPD_SOM_PS8469_CAD",
60*f126890aSEmmanuel Vadot			"DP_OUT_PWR_EN",
61*f126890aSEmmanuel Vadot			"STM32_RST_L",
62*f126890aSEmmanuel Vadot			"STM32_BOOT0",
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot			"FPGA_PROT",
65*f126890aSEmmanuel Vadot			"STM32_FPGA_COMM0",
66*f126890aSEmmanuel Vadot			"TP119",
67*f126890aSEmmanuel Vadot			"TP120",
68*f126890aSEmmanuel Vadot			"TP121",
69*f126890aSEmmanuel Vadot			"TP122",
70*f126890aSEmmanuel Vadot			"TP123",
71*f126890aSEmmanuel Vadot			"TP124";
72*f126890aSEmmanuel Vadot	};
73*f126890aSEmmanuel Vadot};
74*f126890aSEmmanuel Vadot
75*f126890aSEmmanuel Vadot&mmc {
76*f126890aSEmmanuel Vadot	status = "okay";
77*f126890aSEmmanuel Vadot};
78*f126890aSEmmanuel Vadot
79*f126890aSEmmanuel Vadot&uart0 {
80*f126890aSEmmanuel Vadot	status = "okay";
81*f126890aSEmmanuel Vadot};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot&uart1 {
84*f126890aSEmmanuel Vadot	status = "okay";
85*f126890aSEmmanuel Vadot};
86*f126890aSEmmanuel Vadot
87*f126890aSEmmanuel Vadot&usb0 {
88*f126890aSEmmanuel Vadot	status = "okay";
89*f126890aSEmmanuel Vadot	dr_mode = "host";
90*f126890aSEmmanuel Vadot};
91