xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-j721s2-som-p0.dtsi (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
1*e67e8565SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*e67e8565SEmmanuel Vadot/*
3*e67e8565SEmmanuel Vadot * SoM: https://www.ti.com/lit/zip/sprr439
4*e67e8565SEmmanuel Vadot *
5*e67e8565SEmmanuel Vadot * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
6*e67e8565SEmmanuel Vadot */
7*e67e8565SEmmanuel Vadot
8*e67e8565SEmmanuel Vadot/dts-v1/;
9*e67e8565SEmmanuel Vadot
10*e67e8565SEmmanuel Vadot#include "k3-j721s2.dtsi"
11*e67e8565SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
12*e67e8565SEmmanuel Vadot
13*e67e8565SEmmanuel Vadot/ {
14*e67e8565SEmmanuel Vadot	memory@80000000 {
15*e67e8565SEmmanuel Vadot		device_type = "memory";
16*e67e8565SEmmanuel Vadot		/* 16 GB RAM */
17*e67e8565SEmmanuel Vadot		reg = <0x00 0x80000000 0x00 0x80000000>,
18*e67e8565SEmmanuel Vadot		      <0x08 0x80000000 0x03 0x80000000>;
19*e67e8565SEmmanuel Vadot	};
20*e67e8565SEmmanuel Vadot
21*e67e8565SEmmanuel Vadot	/* Reserving memory regions still pending */
22*e67e8565SEmmanuel Vadot	reserved_memory: reserved-memory {
23*e67e8565SEmmanuel Vadot		#address-cells = <2>;
24*e67e8565SEmmanuel Vadot		#size-cells = <2>;
25*e67e8565SEmmanuel Vadot		ranges;
26*e67e8565SEmmanuel Vadot
27*e67e8565SEmmanuel Vadot		secure_ddr: optee@9e800000 {
28*e67e8565SEmmanuel Vadot			reg = <0x00 0x9e800000 0x00 0x01800000>;
29*e67e8565SEmmanuel Vadot			alignment = <0x1000>;
30*e67e8565SEmmanuel Vadot			no-map;
31*e67e8565SEmmanuel Vadot		};
32*e67e8565SEmmanuel Vadot	};
33*e67e8565SEmmanuel Vadot
34*e67e8565SEmmanuel Vadot	transceiver0: can-phy0 {
35*e67e8565SEmmanuel Vadot		/* standby pin has been grounded by default */
36*e67e8565SEmmanuel Vadot		compatible = "ti,tcan1042";
37*e67e8565SEmmanuel Vadot		#phy-cells = <0>;
38*e67e8565SEmmanuel Vadot		max-bitrate = <5000000>;
39*e67e8565SEmmanuel Vadot	};
40*e67e8565SEmmanuel Vadot};
41*e67e8565SEmmanuel Vadot
42*e67e8565SEmmanuel Vadot&main_pmx0 {
43*e67e8565SEmmanuel Vadot	main_i2c0_pins_default: main-i2c0-pins-default {
44*e67e8565SEmmanuel Vadot		pinctrl-single,pins = <
45*e67e8565SEmmanuel Vadot			J721S2_IOPAD(0x0e0, PIN_INPUT_PULLUP, 0) /* (AH25) I2C0_SCL */
46*e67e8565SEmmanuel Vadot			J721S2_IOPAD(0x0e4, PIN_INPUT_PULLUP, 0) /* (AE24) I2C0_SDA */
47*e67e8565SEmmanuel Vadot		>;
48*e67e8565SEmmanuel Vadot	};
49*e67e8565SEmmanuel Vadot
50*e67e8565SEmmanuel Vadot	main_mcan16_pins_default: main-mcan16-pins-default {
51*e67e8565SEmmanuel Vadot		pinctrl-single,pins = <
52*e67e8565SEmmanuel Vadot			J721S2_IOPAD(0x028, PIN_INPUT, 0) /* (AB24) MCAN16_RX */
53*e67e8565SEmmanuel Vadot			J721S2_IOPAD(0x024, PIN_OUTPUT, 0) /* (Y28) MCAN16_TX */
54*e67e8565SEmmanuel Vadot		>;
55*e67e8565SEmmanuel Vadot	};
56*e67e8565SEmmanuel Vadot};
57*e67e8565SEmmanuel Vadot
58*e67e8565SEmmanuel Vadot&main_i2c0 {
59*e67e8565SEmmanuel Vadot	pinctrl-names = "default";
60*e67e8565SEmmanuel Vadot	pinctrl-0 = <&main_i2c0_pins_default>;
61*e67e8565SEmmanuel Vadot	clock-frequency = <400000>;
62*e67e8565SEmmanuel Vadot
63*e67e8565SEmmanuel Vadot	exp_som: gpio@21 {
64*e67e8565SEmmanuel Vadot		compatible = "ti,tca6408";
65*e67e8565SEmmanuel Vadot		reg = <0x21>;
66*e67e8565SEmmanuel Vadot		gpio-controller;
67*e67e8565SEmmanuel Vadot		#gpio-cells = <2>;
68*e67e8565SEmmanuel Vadot		gpio-line-names = "USB2.0_MUX_SEL", "CANUART_MUX1_SEL0",
69*e67e8565SEmmanuel Vadot				  "CANUART_MUX2_SEL0", "CANUART_MUX_SEL1",
70*e67e8565SEmmanuel Vadot				  "GPIO_RGMII1_RST", "GPIO_eDP_ENABLE",
71*e67e8565SEmmanuel Vadot				   "GPIO_LIN_EN", "CAN_STB";
72*e67e8565SEmmanuel Vadot	};
73*e67e8565SEmmanuel Vadot};
74*e67e8565SEmmanuel Vadot
75*e67e8565SEmmanuel Vadot&main_mcan16 {
76*e67e8565SEmmanuel Vadot	pinctrl-0 = <&main_mcan16_pins_default>;
77*e67e8565SEmmanuel Vadot	pinctrl-names = "default";
78*e67e8565SEmmanuel Vadot	phys = <&transceiver0>;
79*e67e8565SEmmanuel Vadot};
80*e67e8565SEmmanuel Vadot
81*e67e8565SEmmanuel Vadot&mailbox0_cluster0 {
82*e67e8565SEmmanuel Vadot	status = "disabled";
83*e67e8565SEmmanuel Vadot};
84*e67e8565SEmmanuel Vadot
85*e67e8565SEmmanuel Vadot&mailbox0_cluster1 {
86*e67e8565SEmmanuel Vadot	status = "disabled";
87*e67e8565SEmmanuel Vadot};
88*e67e8565SEmmanuel Vadot
89*e67e8565SEmmanuel Vadot&mailbox0_cluster2 {
90*e67e8565SEmmanuel Vadot	status = "disabled";
91*e67e8565SEmmanuel Vadot};
92*e67e8565SEmmanuel Vadot
93*e67e8565SEmmanuel Vadot&mailbox0_cluster3 {
94*e67e8565SEmmanuel Vadot	status = "disabled";
95*e67e8565SEmmanuel Vadot};
96*e67e8565SEmmanuel Vadot
97*e67e8565SEmmanuel Vadot&mailbox0_cluster4 {
98*e67e8565SEmmanuel Vadot	status = "disabled";
99*e67e8565SEmmanuel Vadot};
100*e67e8565SEmmanuel Vadot
101*e67e8565SEmmanuel Vadot&mailbox0_cluster5 {
102*e67e8565SEmmanuel Vadot	status = "disabled";
103*e67e8565SEmmanuel Vadot};
104*e67e8565SEmmanuel Vadot
105*e67e8565SEmmanuel Vadot&mailbox0_cluster6 {
106*e67e8565SEmmanuel Vadot	status = "disabled";
107*e67e8565SEmmanuel Vadot};
108*e67e8565SEmmanuel Vadot
109*e67e8565SEmmanuel Vadot&mailbox0_cluster7 {
110*e67e8565SEmmanuel Vadot	status = "disabled";
111*e67e8565SEmmanuel Vadot};
112*e67e8565SEmmanuel Vadot
113*e67e8565SEmmanuel Vadot&mailbox0_cluster8 {
114*e67e8565SEmmanuel Vadot	status = "disabled";
115*e67e8565SEmmanuel Vadot};
116*e67e8565SEmmanuel Vadot
117*e67e8565SEmmanuel Vadot&mailbox0_cluster9 {
118*e67e8565SEmmanuel Vadot	status = "disabled";
119*e67e8565SEmmanuel Vadot};
120*e67e8565SEmmanuel Vadot
121*e67e8565SEmmanuel Vadot&mailbox0_cluster10 {
122*e67e8565SEmmanuel Vadot	status = "disabled";
123*e67e8565SEmmanuel Vadot};
124*e67e8565SEmmanuel Vadot
125*e67e8565SEmmanuel Vadot&mailbox0_cluster11 {
126*e67e8565SEmmanuel Vadot	status = "disabled";
127*e67e8565SEmmanuel Vadot};
128*e67e8565SEmmanuel Vadot
129*e67e8565SEmmanuel Vadot&mailbox1_cluster0 {
130*e67e8565SEmmanuel Vadot	status = "disabled";
131*e67e8565SEmmanuel Vadot};
132*e67e8565SEmmanuel Vadot
133*e67e8565SEmmanuel Vadot&mailbox1_cluster1 {
134*e67e8565SEmmanuel Vadot	status = "disabled";
135*e67e8565SEmmanuel Vadot};
136*e67e8565SEmmanuel Vadot
137*e67e8565SEmmanuel Vadot&mailbox1_cluster2 {
138*e67e8565SEmmanuel Vadot	status = "disabled";
139*e67e8565SEmmanuel Vadot};
140*e67e8565SEmmanuel Vadot
141*e67e8565SEmmanuel Vadot&mailbox1_cluster3 {
142*e67e8565SEmmanuel Vadot	status = "disabled";
143*e67e8565SEmmanuel Vadot};
144*e67e8565SEmmanuel Vadot
145*e67e8565SEmmanuel Vadot&mailbox1_cluster4 {
146*e67e8565SEmmanuel Vadot	status = "disabled";
147*e67e8565SEmmanuel Vadot};
148*e67e8565SEmmanuel Vadot
149*e67e8565SEmmanuel Vadot&mailbox1_cluster5 {
150*e67e8565SEmmanuel Vadot	status = "disabled";
151*e67e8565SEmmanuel Vadot};
152*e67e8565SEmmanuel Vadot
153*e67e8565SEmmanuel Vadot&mailbox1_cluster6 {
154*e67e8565SEmmanuel Vadot	status = "disabled";
155*e67e8565SEmmanuel Vadot};
156*e67e8565SEmmanuel Vadot
157*e67e8565SEmmanuel Vadot&mailbox1_cluster7 {
158*e67e8565SEmmanuel Vadot	status = "disabled";
159*e67e8565SEmmanuel Vadot};
160*e67e8565SEmmanuel Vadot
161*e67e8565SEmmanuel Vadot&mailbox1_cluster8 {
162*e67e8565SEmmanuel Vadot	status = "disabled";
163*e67e8565SEmmanuel Vadot};
164*e67e8565SEmmanuel Vadot
165*e67e8565SEmmanuel Vadot&mailbox1_cluster9 {
166*e67e8565SEmmanuel Vadot	status = "disabled";
167*e67e8565SEmmanuel Vadot};
168*e67e8565SEmmanuel Vadot
169*e67e8565SEmmanuel Vadot&mailbox1_cluster10 {
170*e67e8565SEmmanuel Vadot	status = "disabled";
171*e67e8565SEmmanuel Vadot};
172*e67e8565SEmmanuel Vadot
173*e67e8565SEmmanuel Vadot&mailbox1_cluster11 {
174*e67e8565SEmmanuel Vadot	status = "disabled";
175*e67e8565SEmmanuel Vadot};
176