Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * SoM: https://www.ti.com/lit/zip/sprr439
0004  *
0005  * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
0006  */
0007 
0008 /dts-v1/;
0009 
0010 #include "k3-j721s2.dtsi"
0011 #include <dt-bindings/gpio/gpio.h>
0012 
0013 / {
0014         memory@80000000 {
0015                 device_type = "memory";
0016                 /* 16 GB RAM */
0017                 reg = <0x00 0x80000000 0x00 0x80000000>,
0018                       <0x08 0x80000000 0x03 0x80000000>;
0019         };
0020 
0021         /* Reserving memory regions still pending */
0022         reserved_memory: reserved-memory {
0023                 #address-cells = <2>;
0024                 #size-cells = <2>;
0025                 ranges;
0026 
0027                 secure_ddr: optee@9e800000 {
0028                         reg = <0x00 0x9e800000 0x00 0x01800000>;
0029                         alignment = <0x1000>;
0030                         no-map;
0031                 };
0032         };
0033 
0034         transceiver0: can-phy0 {
0035                 /* standby pin has been grounded by default */
0036                 compatible = "ti,tcan1042";
0037                 #phy-cells = <0>;
0038                 max-bitrate = <5000000>;
0039         };
0040 };
0041 
0042 &main_pmx0 {
0043         main_i2c0_pins_default: main-i2c0-pins-default {
0044                 pinctrl-single,pins = <
0045                         J721S2_IOPAD(0x0e0, PIN_INPUT_PULLUP, 0) /* (AH25) I2C0_SCL */
0046                         J721S2_IOPAD(0x0e4, PIN_INPUT_PULLUP, 0) /* (AE24) I2C0_SDA */
0047                 >;
0048         };
0049 
0050         main_mcan16_pins_default: main-mcan16-pins-default {
0051                 pinctrl-single,pins = <
0052                         J721S2_IOPAD(0x028, PIN_INPUT, 0) /* (AB24) MCAN16_RX */
0053                         J721S2_IOPAD(0x024, PIN_OUTPUT, 0) /* (Y28) MCAN16_TX */
0054                 >;
0055         };
0056 };
0057 
0058 &main_i2c0 {
0059         pinctrl-names = "default";
0060         pinctrl-0 = <&main_i2c0_pins_default>;
0061         clock-frequency = <400000>;
0062 
0063         exp_som: gpio@21 {
0064                 compatible = "ti,tca6408";
0065                 reg = <0x21>;
0066                 gpio-controller;
0067                 #gpio-cells = <2>;
0068                 gpio-line-names = "USB2.0_MUX_SEL", "CANUART_MUX1_SEL0",
0069                                   "CANUART_MUX2_SEL0", "CANUART_MUX_SEL1",
0070                                   "GPIO_RGMII1_RST", "GPIO_eDP_ENABLE",
0071                                    "GPIO_LIN_EN", "CAN_STB";
0072         };
0073 };
0074 
0075 &main_mcan16 {
0076         pinctrl-0 = <&main_mcan16_pins_default>;
0077         pinctrl-names = "default";
0078         phys = <&transceiver0>;
0079 };
0080 
0081 &mailbox0_cluster0 {
0082         status = "disabled";
0083 };
0084 
0085 &mailbox0_cluster1 {
0086         status = "disabled";
0087 };
0088 
0089 &mailbox0_cluster2 {
0090         status = "disabled";
0091 };
0092 
0093 &mailbox0_cluster3 {
0094         status = "disabled";
0095 };
0096 
0097 &mailbox0_cluster4 {
0098         status = "disabled";
0099 };
0100 
0101 &mailbox0_cluster5 {
0102         status = "disabled";
0103 };
0104 
0105 &mailbox0_cluster6 {
0106         status = "disabled";
0107 };
0108 
0109 &mailbox0_cluster7 {
0110         status = "disabled";
0111 };
0112 
0113 &mailbox0_cluster8 {
0114         status = "disabled";
0115 };
0116 
0117 &mailbox0_cluster9 {
0118         status = "disabled";
0119 };
0120 
0121 &mailbox0_cluster10 {
0122         status = "disabled";
0123 };
0124 
0125 &mailbox0_cluster11 {
0126         status = "disabled";
0127 };
0128 
0129 &mailbox1_cluster0 {
0130         status = "disabled";
0131 };
0132 
0133 &mailbox1_cluster1 {
0134         status = "disabled";
0135 };
0136 
0137 &mailbox1_cluster2 {
0138         status = "disabled";
0139 };
0140 
0141 &mailbox1_cluster3 {
0142         status = "disabled";
0143 };
0144 
0145 &mailbox1_cluster4 {
0146         status = "disabled";
0147 };
0148 
0149 &mailbox1_cluster5 {
0150         status = "disabled";
0151 };
0152 
0153 &mailbox1_cluster6 {
0154         status = "disabled";
0155 };
0156 
0157 &mailbox1_cluster7 {
0158         status = "disabled";
0159 };
0160 
0161 &mailbox1_cluster8 {
0162         status = "disabled";
0163 };
0164 
0165 &mailbox1_cluster9 {
0166         status = "disabled";
0167 };
0168 
0169 &mailbox1_cluster10 {
0170         status = "disabled";
0171 };
0172 
0173 &mailbox1_cluster11 {
0174         status = "disabled";
0175 };