mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 22:14:54 +00:00
arm: dts: k3-j7200: Move to OF_UPSTREAM
Move to using OF_UPSTREAM config and thus using the devicetree-rebasing subtree. Signed-off-by: Aniket Limaye <a-limaye@ti.com> Acked-by: Sumit Garg <sumit.garg@linaro.org>
This commit is contained in:
parent
38cf6819ca
commit
25a1fcee34
10 changed files with 8 additions and 2877 deletions
|
@ -1180,7 +1180,6 @@ dtb-$(CONFIG_SOC_K3_AM654) += \
|
||||||
k3-am654-icssg2.dtbo
|
k3-am654-icssg2.dtbo
|
||||||
|
|
||||||
dtb-$(CONFIG_SOC_K3_J721E) += k3-j721e-r5-common-proc-board.dtb \
|
dtb-$(CONFIG_SOC_K3_J721E) += k3-j721e-r5-common-proc-board.dtb \
|
||||||
k3-j7200-common-proc-board.dtb \
|
|
||||||
k3-j7200-r5-common-proc-board.dtb \
|
k3-j7200-r5-common-proc-board.dtb \
|
||||||
k3-j721e-r5-sk.dtb \
|
k3-j721e-r5-sk.dtb \
|
||||||
k3-j721e-beagleboneai64.dtb \
|
k3-j721e-beagleboneai64.dtb \
|
||||||
|
|
|
@ -273,7 +273,7 @@
|
||||||
|
|
||||||
#ifdef CONFIG_TARGET_J7200_A72_EVM
|
#ifdef CONFIG_TARGET_J7200_A72_EVM
|
||||||
|
|
||||||
#define SPL_J7200_EVM_DTB "spl/dts/k3-j7200-common-proc-board.dtb"
|
#define SPL_J7200_EVM_DTB "spl/dts/ti/k3-j7200-common-proc-board.dtb"
|
||||||
#define J7200_EVM_DTB "u-boot.dtb"
|
#define J7200_EVM_DTB "u-boot.dtb"
|
||||||
|
|
||||||
&binman {
|
&binman {
|
||||||
|
|
|
@ -26,8 +26,12 @@
|
||||||
&cbass_mcu_wakeup {
|
&cbass_mcu_wakeup {
|
||||||
bootph-all;
|
bootph-all;
|
||||||
|
|
||||||
chipid@43000014 {
|
wkup_conf: bus@43000000 {
|
||||||
bootph-all;
|
bootph-all;
|
||||||
|
|
||||||
|
chipid: chipid@14 {
|
||||||
|
bootph-all;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -40,14 +44,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
&mcu_udmap {
|
&mcu_udmap {
|
||||||
reg = <0x0 0x285c0000 0x0 0x100>,
|
|
||||||
<0x0 0x284c0000 0x0 0x4000>,
|
|
||||||
<0x0 0x2a800000 0x0 0x40000>,
|
|
||||||
<0x0 0x284a0000 0x0 0x4000>,
|
|
||||||
<0x0 0x2aa00000 0x0 0x40000>,
|
|
||||||
<0x0 0x28400000 0x0 0x2000>;
|
|
||||||
reg-names = "gcfg", "rchan", "rchanrt", "tchan",
|
|
||||||
"tchanrt", "rflow";
|
|
||||||
bootph-all;
|
bootph-all;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,396 +0,0 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
|
||||||
/*
|
|
||||||
* Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
|
|
||||||
*/
|
|
||||||
|
|
||||||
/dts-v1/;
|
|
||||||
|
|
||||||
#include "k3-j7200-som-p0.dtsi"
|
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
|
||||||
#include <dt-bindings/net/ti-dp83867.h>
|
|
||||||
#include <dt-bindings/phy/phy.h>
|
|
||||||
|
|
||||||
#include "k3-serdes.h"
|
|
||||||
|
|
||||||
/ {
|
|
||||||
compatible = "ti,j7200-evm", "ti,j7200";
|
|
||||||
model = "Texas Instruments J7200 EVM";
|
|
||||||
|
|
||||||
aliases {
|
|
||||||
serial0 = &wkup_uart0;
|
|
||||||
serial1 = &mcu_uart0;
|
|
||||||
serial2 = &main_uart0;
|
|
||||||
serial3 = &main_uart1;
|
|
||||||
serial5 = &main_uart3;
|
|
||||||
mmc0 = &main_sdhci0;
|
|
||||||
mmc1 = &main_sdhci1;
|
|
||||||
};
|
|
||||||
|
|
||||||
chosen {
|
|
||||||
stdout-path = "serial2:115200n8";
|
|
||||||
};
|
|
||||||
|
|
||||||
evm_12v0: fixedregulator-evm12v0 {
|
|
||||||
/* main supply */
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
regulator-name = "evm_12v0";
|
|
||||||
regulator-min-microvolt = <12000000>;
|
|
||||||
regulator-max-microvolt = <12000000>;
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
};
|
|
||||||
|
|
||||||
vsys_3v3: fixedregulator-vsys3v3 {
|
|
||||||
/* Output of LM5140 */
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
regulator-name = "vsys_3v3";
|
|
||||||
regulator-min-microvolt = <3300000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
vin-supply = <&evm_12v0>;
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
};
|
|
||||||
|
|
||||||
vsys_5v0: fixedregulator-vsys5v0 {
|
|
||||||
/* Output of LM5140 */
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
regulator-name = "vsys_5v0";
|
|
||||||
regulator-min-microvolt = <5000000>;
|
|
||||||
regulator-max-microvolt = <5000000>;
|
|
||||||
vin-supply = <&evm_12v0>;
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
};
|
|
||||||
|
|
||||||
vdd_mmc1: fixedregulator-sd {
|
|
||||||
/* Output of TPS22918 */
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
regulator-name = "vdd_mmc1";
|
|
||||||
regulator-min-microvolt = <3300000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
enable-active-high;
|
|
||||||
vin-supply = <&vsys_3v3>;
|
|
||||||
gpio = <&exp2 2 GPIO_ACTIVE_HIGH>;
|
|
||||||
};
|
|
||||||
|
|
||||||
vdd_sd_dv: gpio-regulator-TLV71033 {
|
|
||||||
/* Output of TLV71033 */
|
|
||||||
compatible = "regulator-gpio";
|
|
||||||
regulator-name = "tlv71033";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&vdd_sd_dv_pins_default>;
|
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
vin-supply = <&vsys_5v0>;
|
|
||||||
gpios = <&main_gpio0 55 GPIO_ACTIVE_HIGH>;
|
|
||||||
states = <1800000 0x0>,
|
|
||||||
<3300000 0x1>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&wkup_pmx0 {
|
|
||||||
mcu_uart0_pins_default: mcu-uart0-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_WKUP_IOPAD(0xf4, PIN_INPUT, 0) /* (D20) MCU_UART0_RXD */
|
|
||||||
J721E_WKUP_IOPAD(0xf0, PIN_OUTPUT, 0) /* (D19) MCU_UART0_TXD */
|
|
||||||
J721E_WKUP_IOPAD(0xf8, PIN_INPUT, 0) /* (E20) MCU_UART0_CTSn */
|
|
||||||
J721E_WKUP_IOPAD(0xfc, PIN_OUTPUT, 0) /* (E21) MCU_UART0_RTSn */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_uart0_pins_default: wkup-uart0-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_WKUP_IOPAD(0xb0, PIN_INPUT, 0) /* (B14) WKUP_UART0_RXD */
|
|
||||||
J721E_WKUP_IOPAD(0xb4, PIN_OUTPUT, 0) /* (A14) WKUP_UART0_TXD */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&wkup_pmx2 {
|
|
||||||
mcu_cpsw_pins_default: mcu-cpsw-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */
|
|
||||||
J721E_WKUP_IOPAD(0x0004, PIN_INPUT, 0) /* MCU_RGMII1_RX_CTL */
|
|
||||||
J721E_WKUP_IOPAD(0x0008, PIN_OUTPUT, 0) /* MCU_RGMII1_TD3 */
|
|
||||||
J721E_WKUP_IOPAD(0x000c, PIN_OUTPUT, 0) /* MCU_RGMII1_TD2 */
|
|
||||||
J721E_WKUP_IOPAD(0x0010, PIN_OUTPUT, 0) /* MCU_RGMII1_TD1 */
|
|
||||||
J721E_WKUP_IOPAD(0x0014, PIN_OUTPUT, 0) /* MCU_RGMII1_TD0 */
|
|
||||||
J721E_WKUP_IOPAD(0x0020, PIN_INPUT, 0) /* MCU_RGMII1_RD3 */
|
|
||||||
J721E_WKUP_IOPAD(0x0024, PIN_INPUT, 0) /* MCU_RGMII1_RD2 */
|
|
||||||
J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* MCU_RGMII1_RD1 */
|
|
||||||
J721E_WKUP_IOPAD(0x002c, PIN_INPUT, 0) /* MCU_RGMII1_RD0 */
|
|
||||||
J721E_WKUP_IOPAD(0x0018, PIN_OUTPUT, 0) /* MCU_RGMII1_TXC */
|
|
||||||
J721E_WKUP_IOPAD(0x001c, PIN_INPUT, 0) /* MCU_RGMII1_RXC */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_gpio_pins_default: wkup-gpio-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_WKUP_IOPAD(0x70, PIN_INPUT, 7) /* (C14) WKUP_GPIO0_6 */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_mdio_pins_default: mcu-mdio1-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_WKUP_IOPAD(0x0034, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */
|
|
||||||
J721E_WKUP_IOPAD(0x0030, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_pmx0 {
|
|
||||||
main_uart0_pins_default: main-uart0-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_IOPAD(0xb0, PIN_INPUT, 0) /* (T16) UART0_RXD */
|
|
||||||
J721E_IOPAD(0xb4, PIN_OUTPUT, 0) /* (T17) UART0_TXD */
|
|
||||||
J721E_IOPAD(0xc0, PIN_INPUT, 2) /* (W3) SPI0_CS0.UART0_CTSn */
|
|
||||||
J721E_IOPAD(0xc4, PIN_OUTPUT, 2) /* (U5) SPI0_CS1.UART0_RTSn */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
main_uart1_pins_default: main-uart1-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_IOPAD(0xb8, PIN_INPUT, 0) /* (T18) UART1_RXD */
|
|
||||||
J721E_IOPAD(0xbc, PIN_INPUT, 0) /* (T20) UART1_TXD */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
main_uart3_pins_default: main-uart3-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_IOPAD(0x60, PIN_INPUT, 11) /* (T15) MCAN8_TX.UART3_CTSn */
|
|
||||||
J721E_IOPAD(0x30, PIN_INPUT, 11) /* (Y18) MCAN2_TX.UART3_RXD */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
main_i2c1_pins_default: main-i2c1-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_IOPAD(0xdc, PIN_INPUT_PULLUP, 3) /* (U3) ECAP0_IN_APWM_OUT.I2C1_SCL */
|
|
||||||
J721E_IOPAD(0xe0, PIN_INPUT_PULLUP, 3) /* (T3) EXT_REFCLK1.I2C1_SDA */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
main_mmc1_pins_default: main-mmc1-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_IOPAD(0x104, PIN_INPUT, 0) /* (M20) MMC1_CMD */
|
|
||||||
J721E_IOPAD(0x100, PIN_INPUT, 0) /* (P21) MMC1_CLK */
|
|
||||||
J721E_IOPAD(0xfc, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
|
|
||||||
J721E_IOPAD(0xf8, PIN_INPUT, 0) /* (M19) MMC1_DAT0 */
|
|
||||||
J721E_IOPAD(0xf4, PIN_INPUT, 0) /* (N21) MMC1_DAT1 */
|
|
||||||
J721E_IOPAD(0xf0, PIN_INPUT, 0) /* (N20) MMC1_DAT2 */
|
|
||||||
J721E_IOPAD(0xec, PIN_INPUT, 0) /* (N19) MMC1_DAT3 */
|
|
||||||
J721E_IOPAD(0xe4, PIN_INPUT, 8) /* (V1) TIMER_IO0.MMC1_SDCD */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_IOPAD(0xd0, PIN_OUTPUT, 7) /* (T5) SPI0_D1.GPIO0_55 */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_pmx1 {
|
|
||||||
main_usbss0_pins_default: main-usbss0-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_IOPAD(0x04, PIN_OUTPUT, 0) /* (T4) USB0_DRVVBUS */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&wkup_uart0 {
|
|
||||||
/* Wakeup UART is used by System firmware */
|
|
||||||
status = "reserved";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&wkup_uart0_pins_default>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&mcu_uart0 {
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mcu_uart0_pins_default>;
|
|
||||||
clock-frequency = <96000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_uart0 {
|
|
||||||
status = "okay";
|
|
||||||
/* Shared with ATF on this platform */
|
|
||||||
power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&main_uart0_pins_default>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_uart1 {
|
|
||||||
status = "okay";
|
|
||||||
/* Default pinmux */
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&main_uart1_pins_default>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_uart2 {
|
|
||||||
/* MAIN UART 2 is used by R5F firmware */
|
|
||||||
status = "reserved";
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_uart3 {
|
|
||||||
/* Shared with MCAN Interface */
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&main_uart3_pins_default>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_gpio0 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&wkup_gpio0 {
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&wkup_gpio_pins_default>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&mcu_cpsw {
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&davinci_mdio {
|
|
||||||
phy0: ethernet-phy@0 {
|
|
||||||
reg = <0>;
|
|
||||||
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
|
|
||||||
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&cpsw_port1 {
|
|
||||||
phy-mode = "rgmii-rxid";
|
|
||||||
phy-handle = <&phy0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_i2c0 {
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&main_i2c0_pins_default>;
|
|
||||||
clock-frequency = <400000>;
|
|
||||||
|
|
||||||
exp1: gpio@20 {
|
|
||||||
compatible = "ti,tca6416";
|
|
||||||
reg = <0x20>;
|
|
||||||
gpio-controller;
|
|
||||||
#gpio-cells = <2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
exp2: gpio@22 {
|
|
||||||
compatible = "ti,tca6424";
|
|
||||||
reg = <0x22>;
|
|
||||||
gpio-controller;
|
|
||||||
#gpio-cells = <2>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* The j7200 CPB board is identical to the CPB used for J721E, the SOMs can be
|
|
||||||
* swapped on the CPB.
|
|
||||||
*
|
|
||||||
* main_i2c1 of J7200 is connected to the CPB i2c bus labeled as i2c3.
|
|
||||||
* The i2c1 of the CPB (as it is labeled) is not connected to j7200.
|
|
||||||
*/
|
|
||||||
&main_i2c1 {
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&main_i2c1_pins_default>;
|
|
||||||
clock-frequency = <400000>;
|
|
||||||
|
|
||||||
exp3: gpio@20 {
|
|
||||||
compatible = "ti,tca6408";
|
|
||||||
reg = <0x20>;
|
|
||||||
gpio-controller;
|
|
||||||
#gpio-cells = <2>;
|
|
||||||
gpio-line-names = "CODEC_RSTz", "CODEC_SPARE1", "UB926_RESETn",
|
|
||||||
"UB926_LOCK", "UB926_PWR_SW_CNTRL",
|
|
||||||
"UB926_TUNER_RESET", "UB926_GPIO_SPARE", "";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_sdhci0 {
|
|
||||||
/* eMMC */
|
|
||||||
status = "okay";
|
|
||||||
non-removable;
|
|
||||||
ti,driver-strength-ohm = <50>;
|
|
||||||
disable-wp;
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_sdhci1 {
|
|
||||||
/* SD card */
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-0 = <&main_mmc1_pins_default>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
vmmc-supply = <&vdd_mmc1>;
|
|
||||||
vqmmc-supply = <&vdd_sd_dv>;
|
|
||||||
ti,driver-strength-ohm = <50>;
|
|
||||||
disable-wp;
|
|
||||||
};
|
|
||||||
|
|
||||||
&serdes_ln_ctrl {
|
|
||||||
idle-states = <J7200_SERDES0_LANE0_PCIE1_LANE0>, <J7200_SERDES0_LANE1_PCIE1_LANE1>,
|
|
||||||
<J7200_SERDES0_LANE2_QSGMII_LANE1>, <J7200_SERDES0_LANE3_IP4_UNUSED>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&usb_serdes_mux {
|
|
||||||
idle-states = <1>; /* USB0 to SERDES lane 3 */
|
|
||||||
};
|
|
||||||
|
|
||||||
&usbss0 {
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&main_usbss0_pins_default>;
|
|
||||||
ti,vbus-divider;
|
|
||||||
ti,usb2-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
&usb0 {
|
|
||||||
dr_mode = "otg";
|
|
||||||
maximum-speed = "high-speed";
|
|
||||||
};
|
|
||||||
|
|
||||||
&tscadc0 {
|
|
||||||
adc {
|
|
||||||
ti,adc-channels = <0 1 2 3 4 5 6 7>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&serdes_refclk {
|
|
||||||
clock-frequency = <100000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&serdes0 {
|
|
||||||
serdes0_pcie_link: phy@0 {
|
|
||||||
reg = <0>;
|
|
||||||
cdns,num-lanes = <2>;
|
|
||||||
#phy-cells = <0>;
|
|
||||||
cdns,phy-type = <PHY_TYPE_PCIE>;
|
|
||||||
resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
serdes0_qsgmii_link: phy@1 {
|
|
||||||
reg = <2>;
|
|
||||||
cdns,num-lanes = <1>;
|
|
||||||
#phy-cells = <0>;
|
|
||||||
cdns,phy-type = <PHY_TYPE_QSGMII>;
|
|
||||||
resets = <&serdes_wiz0 3>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&pcie1_rc {
|
|
||||||
reset-gpios = <&exp1 2 GPIO_ACTIVE_HIGH>;
|
|
||||||
phys = <&serdes0_pcie_link>;
|
|
||||||
phy-names = "pcie-phy";
|
|
||||||
num-lanes = <2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&pcie1_ep {
|
|
||||||
phys = <&serdes0_pcie_link>;
|
|
||||||
phy-names = "pcie-phy";
|
|
||||||
num-lanes = <2>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,647 +0,0 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
|
||||||
/*
|
|
||||||
* Device Tree Source for J7200 SoC Family MCU/WAKEUP Domain peripherals
|
|
||||||
*
|
|
||||||
* Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
|
|
||||||
*/
|
|
||||||
|
|
||||||
&cbass_mcu_wakeup {
|
|
||||||
dmsc: system-controller@44083000 {
|
|
||||||
compatible = "ti,k2g-sci";
|
|
||||||
ti,host-id = <12>;
|
|
||||||
|
|
||||||
mbox-names = "rx", "tx";
|
|
||||||
|
|
||||||
mboxes = <&secure_proxy_main 11>,
|
|
||||||
<&secure_proxy_main 13>;
|
|
||||||
|
|
||||||
reg-names = "debug_messages";
|
|
||||||
reg = <0x00 0x44083000 0x00 0x1000>;
|
|
||||||
|
|
||||||
k3_pds: power-controller {
|
|
||||||
compatible = "ti,sci-pm-domain";
|
|
||||||
#power-domain-cells = <2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
k3_clks: clock-controller {
|
|
||||||
compatible = "ti,k2g-sci-clk";
|
|
||||||
#clock-cells = <2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
k3_reset: reset-controller {
|
|
||||||
compatible = "ti,sci-reset";
|
|
||||||
#reset-cells = <2>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_timer0: timer@40400000 {
|
|
||||||
status = "reserved";
|
|
||||||
compatible = "ti,am654-timer";
|
|
||||||
reg = <0x00 0x40400000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 816 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clocks = <&k3_clks 35 1>;
|
|
||||||
clock-names = "fck";
|
|
||||||
assigned-clocks = <&k3_clks 35 1>;
|
|
||||||
assigned-clock-parents = <&k3_clks 35 2>;
|
|
||||||
power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
ti,timer-pwm;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_timer1: timer@40410000 {
|
|
||||||
status = "reserved";
|
|
||||||
compatible = "ti,am654-timer";
|
|
||||||
reg = <0x00 0x40410000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 817 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clocks = <&k3_clks 71 1>;
|
|
||||||
clock-names = "fck";
|
|
||||||
assigned-clocks = <&k3_clks 71 1>, <&k3_clks 308 0>;
|
|
||||||
assigned-clock-parents = <&k3_clks 71 2>, <&k3_clks 308 1>;
|
|
||||||
power-domains = <&k3_pds 71 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
ti,timer-pwm;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_timer2: timer@40420000 {
|
|
||||||
status = "reserved";
|
|
||||||
compatible = "ti,am654-timer";
|
|
||||||
reg = <0x00 0x40420000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 818 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clocks = <&k3_clks 72 1>;
|
|
||||||
clock-names = "fck";
|
|
||||||
assigned-clocks = <&k3_clks 72 1>;
|
|
||||||
assigned-clock-parents = <&k3_clks 72 2>;
|
|
||||||
power-domains = <&k3_pds 72 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
ti,timer-pwm;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_timer3: timer@40430000 {
|
|
||||||
status = "reserved";
|
|
||||||
compatible = "ti,am654-timer";
|
|
||||||
reg = <0x00 0x40430000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 819 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clocks = <&k3_clks 73 1>;
|
|
||||||
clock-names = "fck";
|
|
||||||
assigned-clocks = <&k3_clks 73 1>, <&k3_clks 309 0>;
|
|
||||||
assigned-clock-parents = <&k3_clks 73 2>, <&k3_clks 309 1>;
|
|
||||||
power-domains = <&k3_pds 73 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
ti,timer-pwm;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_timer4: timer@40440000 {
|
|
||||||
status = "reserved";
|
|
||||||
compatible = "ti,am654-timer";
|
|
||||||
reg = <0x00 0x40440000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 820 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clocks = <&k3_clks 74 1>;
|
|
||||||
clock-names = "fck";
|
|
||||||
assigned-clocks = <&k3_clks 74 1>;
|
|
||||||
assigned-clock-parents = <&k3_clks 74 2>;
|
|
||||||
power-domains = <&k3_pds 74 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
ti,timer-pwm;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_timer5: timer@40450000 {
|
|
||||||
status = "reserved";
|
|
||||||
compatible = "ti,am654-timer";
|
|
||||||
reg = <0x00 0x40450000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 821 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clocks = <&k3_clks 75 1>;
|
|
||||||
clock-names = "fck";
|
|
||||||
assigned-clocks = <&k3_clks 75 1>, <&k3_clks 310 0>;
|
|
||||||
assigned-clock-parents = <&k3_clks 75 2>, <&k3_clks 310 1>;
|
|
||||||
power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
ti,timer-pwm;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_timer6: timer@40460000 {
|
|
||||||
status = "reserved";
|
|
||||||
compatible = "ti,am654-timer";
|
|
||||||
reg = <0x00 0x40460000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clocks = <&k3_clks 76 1>;
|
|
||||||
clock-names = "fck";
|
|
||||||
assigned-clocks = <&k3_clks 76 1>;
|
|
||||||
assigned-clock-parents = <&k3_clks 76 2>;
|
|
||||||
power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
ti,timer-pwm;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_timer7: timer@40470000 {
|
|
||||||
status = "reserved";
|
|
||||||
compatible = "ti,am654-timer";
|
|
||||||
reg = <0x00 0x40470000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 823 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clocks = <&k3_clks 77 1>;
|
|
||||||
clock-names = "fck";
|
|
||||||
assigned-clocks = <&k3_clks 77 1>, <&k3_clks 311 0>;
|
|
||||||
assigned-clock-parents = <&k3_clks 77 2>, <&k3_clks 311 1>;
|
|
||||||
power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
ti,timer-pwm;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_timer8: timer@40480000 {
|
|
||||||
status = "reserved";
|
|
||||||
compatible = "ti,am654-timer";
|
|
||||||
reg = <0x00 0x40480000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 824 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clocks = <&k3_clks 78 1>;
|
|
||||||
clock-names = "fck";
|
|
||||||
assigned-clocks = <&k3_clks 78 1>;
|
|
||||||
assigned-clock-parents = <&k3_clks 78 2>;
|
|
||||||
power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
ti,timer-pwm;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_timer9: timer@40490000 {
|
|
||||||
status = "reserved";
|
|
||||||
compatible = "ti,am654-timer";
|
|
||||||
reg = <0x00 0x40490000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 825 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clocks = <&k3_clks 79 1>;
|
|
||||||
clock-names = "fck";
|
|
||||||
assigned-clocks = <&k3_clks 79 1>, <&k3_clks 312 0>;
|
|
||||||
assigned-clock-parents = <&k3_clks 79 2>, <&k3_clks 312 1>;
|
|
||||||
power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
ti,timer-pwm;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_conf: syscon@40f00000 {
|
|
||||||
compatible = "syscon", "simple-mfd";
|
|
||||||
reg = <0x00 0x40f00000 0x00 0x20000>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
ranges = <0x00 0x00 0x40f00000 0x20000>;
|
|
||||||
|
|
||||||
phy_gmii_sel: phy@4040 {
|
|
||||||
compatible = "ti,am654-phy-gmii-sel";
|
|
||||||
reg = <0x4040 0x4>;
|
|
||||||
#phy-cells = <1>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
chipid@43000014 {
|
|
||||||
compatible = "ti,am654-chipid";
|
|
||||||
reg = <0x00 0x43000014 0x00 0x4>;
|
|
||||||
};
|
|
||||||
|
|
||||||
/* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */
|
|
||||||
mcu_timerio_input: pinctrl@40f04200 {
|
|
||||||
compatible = "pinctrl-single";
|
|
||||||
reg = <0x0 0x40f04200 0x0 0x28>;
|
|
||||||
#pinctrl-cells = <1>;
|
|
||||||
pinctrl-single,register-width = <32>;
|
|
||||||
pinctrl-single,function-mask = <0x0000000F>;
|
|
||||||
status = "reserved";
|
|
||||||
};
|
|
||||||
|
|
||||||
/* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */
|
|
||||||
mcu_timerio_output: pinctrl@40f04280 {
|
|
||||||
compatible = "pinctrl-single";
|
|
||||||
reg = <0x0 0x40f04280 0x0 0x28>;
|
|
||||||
#pinctrl-cells = <1>;
|
|
||||||
pinctrl-single,register-width = <32>;
|
|
||||||
pinctrl-single,function-mask = <0x0000000F>;
|
|
||||||
status = "reserved";
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_pmx0: pinctrl@4301c000 {
|
|
||||||
compatible = "pinctrl-single";
|
|
||||||
/* Proxy 0 addressing */
|
|
||||||
reg = <0x00 0x4301c000 0x00 0x34>;
|
|
||||||
#pinctrl-cells = <1>;
|
|
||||||
pinctrl-single,register-width = <32>;
|
|
||||||
pinctrl-single,function-mask = <0xffffffff>;
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_pmx1: pinctrl@4301c038 {
|
|
||||||
compatible = "pinctrl-single";
|
|
||||||
/* Proxy 0 addressing */
|
|
||||||
reg = <0x00 0x4301c038 0x00 0x8>;
|
|
||||||
#pinctrl-cells = <1>;
|
|
||||||
pinctrl-single,register-width = <32>;
|
|
||||||
pinctrl-single,function-mask = <0xffffffff>;
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_pmx2: pinctrl@4301c068 {
|
|
||||||
compatible = "pinctrl-single";
|
|
||||||
/* Proxy 0 addressing */
|
|
||||||
reg = <0x00 0x4301c068 0x00 0xec>;
|
|
||||||
#pinctrl-cells = <1>;
|
|
||||||
pinctrl-single,register-width = <32>;
|
|
||||||
pinctrl-single,function-mask = <0xffffffff>;
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_pmx3: pinctrl@4301c174 {
|
|
||||||
compatible = "pinctrl-single";
|
|
||||||
/* Proxy 0 addressing */
|
|
||||||
reg = <0x00 0x4301c174 0x00 0x20>;
|
|
||||||
#pinctrl-cells = <1>;
|
|
||||||
pinctrl-single,register-width = <32>;
|
|
||||||
pinctrl-single,function-mask = <0xffffffff>;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_ram: sram@41c00000 {
|
|
||||||
compatible = "mmio-sram";
|
|
||||||
reg = <0x00 0x41c00000 0x00 0x100000>;
|
|
||||||
ranges = <0x00 0x00 0x41c00000 0x100000>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_uart0: serial@42300000 {
|
|
||||||
compatible = "ti,j721e-uart", "ti,am654-uart";
|
|
||||||
reg = <0x00 0x42300000 0x00 0x100>;
|
|
||||||
interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clock-frequency = <48000000>;
|
|
||||||
current-speed = <115200>;
|
|
||||||
power-domains = <&k3_pds 287 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
clocks = <&k3_clks 287 2>;
|
|
||||||
clock-names = "fclk";
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_uart0: serial@40a00000 {
|
|
||||||
compatible = "ti,j721e-uart", "ti,am654-uart";
|
|
||||||
reg = <0x00 0x40a00000 0x00 0x100>;
|
|
||||||
interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clock-frequency = <96000000>;
|
|
||||||
current-speed = <115200>;
|
|
||||||
power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
clocks = <&k3_clks 149 2>;
|
|
||||||
clock-names = "fclk";
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_gpio_intr: interrupt-controller@42200000 {
|
|
||||||
compatible = "ti,sci-intr";
|
|
||||||
reg = <0x00 0x42200000 0x00 0x400>;
|
|
||||||
ti,intr-trigger-type = <1>;
|
|
||||||
interrupt-controller;
|
|
||||||
interrupt-parent = <&gic500>;
|
|
||||||
#interrupt-cells = <1>;
|
|
||||||
ti,sci = <&dmsc>;
|
|
||||||
ti,sci-dev-id = <137>;
|
|
||||||
ti,interrupt-ranges = <16 960 16>;
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_gpio0: gpio@42110000 {
|
|
||||||
compatible = "ti,j721e-gpio", "ti,keystone-gpio";
|
|
||||||
reg = <0x00 0x42110000 0x00 0x100>;
|
|
||||||
gpio-controller;
|
|
||||||
#gpio-cells = <2>;
|
|
||||||
interrupt-parent = <&wkup_gpio_intr>;
|
|
||||||
interrupts = <103>, <104>, <105>, <106>, <107>, <108>;
|
|
||||||
interrupt-controller;
|
|
||||||
#interrupt-cells = <2>;
|
|
||||||
ti,ngpio = <85>;
|
|
||||||
ti,davinci-gpio-unbanked = <0>;
|
|
||||||
power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
clocks = <&k3_clks 113 0>;
|
|
||||||
clock-names = "gpio";
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_gpio1: gpio@42100000 {
|
|
||||||
compatible = "ti,j721e-gpio", "ti,keystone-gpio";
|
|
||||||
reg = <0x00 0x42100000 0x00 0x100>;
|
|
||||||
gpio-controller;
|
|
||||||
#gpio-cells = <2>;
|
|
||||||
interrupt-parent = <&wkup_gpio_intr>;
|
|
||||||
interrupts = <112>, <113>, <114>, <115>, <116>, <117>;
|
|
||||||
interrupt-controller;
|
|
||||||
#interrupt-cells = <2>;
|
|
||||||
ti,ngpio = <85>;
|
|
||||||
ti,davinci-gpio-unbanked = <0>;
|
|
||||||
power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
clocks = <&k3_clks 114 0>;
|
|
||||||
clock-names = "gpio";
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_navss: bus@28380000 {
|
|
||||||
compatible = "simple-bus";
|
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
|
|
||||||
dma-coherent;
|
|
||||||
dma-ranges;
|
|
||||||
ti,sci-dev-id = <232>;
|
|
||||||
|
|
||||||
mcu_ringacc: ringacc@2b800000 {
|
|
||||||
compatible = "ti,am654-navss-ringacc";
|
|
||||||
reg = <0x00 0x2b800000 0x00 0x400000>,
|
|
||||||
<0x00 0x2b000000 0x00 0x400000>,
|
|
||||||
<0x00 0x28590000 0x00 0x100>,
|
|
||||||
<0x00 0x2a500000 0x00 0x40000>,
|
|
||||||
<0x00 0x28440000 0x00 0x40000>;
|
|
||||||
reg-names = "rt", "fifos", "proxy_gcfg",
|
|
||||||
"proxy_target", "cfg";
|
|
||||||
ti,num-rings = <286>;
|
|
||||||
ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
|
|
||||||
ti,sci = <&dmsc>;
|
|
||||||
ti,sci-dev-id = <235>;
|
|
||||||
msi-parent = <&main_udmass_inta>;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_udmap: dma-controller@285c0000 {
|
|
||||||
compatible = "ti,j721e-navss-mcu-udmap";
|
|
||||||
reg = <0x00 0x285c0000 0x00 0x100>,
|
|
||||||
<0x00 0x2a800000 0x00 0x40000>,
|
|
||||||
<0x00 0x2aa00000 0x00 0x40000>;
|
|
||||||
reg-names = "gcfg", "rchanrt", "tchanrt";
|
|
||||||
msi-parent = <&main_udmass_inta>;
|
|
||||||
#dma-cells = <1>;
|
|
||||||
|
|
||||||
ti,sci = <&dmsc>;
|
|
||||||
ti,sci-dev-id = <236>;
|
|
||||||
ti,ringacc = <&mcu_ringacc>;
|
|
||||||
|
|
||||||
ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */
|
|
||||||
<0x0f>; /* TX_HCHAN */
|
|
||||||
ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */
|
|
||||||
<0x0b>; /* RX_HCHAN */
|
|
||||||
ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
secure_proxy_mcu: mailbox@2a480000 {
|
|
||||||
compatible = "ti,am654-secure-proxy";
|
|
||||||
#mbox-cells = <1>;
|
|
||||||
reg-names = "target_data", "rt", "scfg";
|
|
||||||
reg = <0x0 0x2a480000 0x0 0x80000>,
|
|
||||||
<0x0 0x2a380000 0x0 0x80000>,
|
|
||||||
<0x0 0x2a400000 0x0 0x80000>;
|
|
||||||
/*
|
|
||||||
* Marked Disabled:
|
|
||||||
* Node is incomplete as it is meant for bootloaders and
|
|
||||||
* firmware on non-MPU processors
|
|
||||||
*/
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_cpsw: ethernet@46000000 {
|
|
||||||
compatible = "ti,j721e-cpsw-nuss";
|
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
reg = <0x00 0x46000000 0x00 0x200000>;
|
|
||||||
reg-names = "cpsw_nuss";
|
|
||||||
ranges = <0x00 0x00 0x00 0x46000000 0x00 0x200000>;
|
|
||||||
dma-coherent;
|
|
||||||
clocks = <&k3_clks 18 21>;
|
|
||||||
clock-names = "fck";
|
|
||||||
power-domains = <&k3_pds 18 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
|
|
||||||
dmas = <&mcu_udmap 0xf000>,
|
|
||||||
<&mcu_udmap 0xf001>,
|
|
||||||
<&mcu_udmap 0xf002>,
|
|
||||||
<&mcu_udmap 0xf003>,
|
|
||||||
<&mcu_udmap 0xf004>,
|
|
||||||
<&mcu_udmap 0xf005>,
|
|
||||||
<&mcu_udmap 0xf006>,
|
|
||||||
<&mcu_udmap 0xf007>,
|
|
||||||
<&mcu_udmap 0x7000>;
|
|
||||||
dma-names = "tx0", "tx1", "tx2", "tx3",
|
|
||||||
"tx4", "tx5", "tx6", "tx7",
|
|
||||||
"rx";
|
|
||||||
|
|
||||||
ethernet-ports {
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
cpsw_port1: port@1 {
|
|
||||||
reg = <1>;
|
|
||||||
ti,mac-only;
|
|
||||||
label = "port1";
|
|
||||||
ti,syscon-efuse = <&mcu_conf 0x200>;
|
|
||||||
phys = <&phy_gmii_sel 1>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
davinci_mdio: mdio@f00 {
|
|
||||||
compatible = "ti,cpsw-mdio","ti,davinci_mdio";
|
|
||||||
reg = <0x00 0xf00 0x00 0x100>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
clocks = <&k3_clks 18 21>;
|
|
||||||
clock-names = "fck";
|
|
||||||
bus_freq = <1000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
cpts@3d000 {
|
|
||||||
compatible = "ti,am65-cpts";
|
|
||||||
reg = <0x00 0x3d000 0x00 0x400>;
|
|
||||||
clocks = <&k3_clks 18 2>;
|
|
||||||
clock-names = "cpts";
|
|
||||||
interrupts-extended = <&gic500 GIC_SPI 858 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
interrupt-names = "cpts";
|
|
||||||
ti,cpts-ext-ts-inputs = <4>;
|
|
||||||
ti,cpts-periodic-outputs = <2>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_i2c0: i2c@40b00000 {
|
|
||||||
compatible = "ti,j721e-i2c", "ti,omap4-i2c";
|
|
||||||
reg = <0x00 0x40b00000 0x00 0x100>;
|
|
||||||
interrupts = <GIC_SPI 852 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
clock-names = "fck";
|
|
||||||
clocks = <&k3_clks 194 1>;
|
|
||||||
power-domains = <&k3_pds 194 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_i2c1: i2c@40b10000 {
|
|
||||||
compatible = "ti,j721e-i2c", "ti,omap4-i2c";
|
|
||||||
reg = <0x00 0x40b10000 0x00 0x100>;
|
|
||||||
interrupts = <GIC_SPI 853 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
clock-names = "fck";
|
|
||||||
clocks = <&k3_clks 195 1>;
|
|
||||||
power-domains = <&k3_pds 195 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_i2c0: i2c@42120000 {
|
|
||||||
compatible = "ti,j721e-i2c", "ti,omap4-i2c";
|
|
||||||
reg = <0x00 0x42120000 0x00 0x100>;
|
|
||||||
interrupts = <GIC_SPI 896 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
clock-names = "fck";
|
|
||||||
clocks = <&k3_clks 197 1>;
|
|
||||||
power-domains = <&k3_pds 197 TI_SCI_PD_SHARED>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_spi0: spi@40300000 {
|
|
||||||
compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
|
|
||||||
reg = <0x00 0x040300000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 848 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
power-domains = <&k3_pds 274 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
clocks = <&k3_clks 274 0>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_spi1: spi@40310000 {
|
|
||||||
compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
|
|
||||||
reg = <0x00 0x040310000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 849 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
power-domains = <&k3_pds 275 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
clocks = <&k3_clks 275 0>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_spi2: spi@40320000 {
|
|
||||||
compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
|
|
||||||
reg = <0x00 0x040320000 0x00 0x400>;
|
|
||||||
interrupts = <GIC_SPI 850 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
power-domains = <&k3_pds 276 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
clocks = <&k3_clks 276 0>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
fss: syscon@47000000 {
|
|
||||||
compatible = "syscon", "simple-mfd";
|
|
||||||
reg = <0x00 0x47000000 0x00 0x100>;
|
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
ranges;
|
|
||||||
|
|
||||||
hbmc_mux: hbmc-mux {
|
|
||||||
compatible = "mmio-mux";
|
|
||||||
#mux-control-cells = <1>;
|
|
||||||
mux-reg-masks = <0x4 0x2>; /* HBMC select */
|
|
||||||
};
|
|
||||||
|
|
||||||
hbmc: hyperbus@47034000 {
|
|
||||||
compatible = "ti,am654-hbmc";
|
|
||||||
reg = <0x00 0x47034000 0x00 0x100>,
|
|
||||||
<0x05 0x00000000 0x01 0x0000000>;
|
|
||||||
power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
clocks = <&k3_clks 102 0>;
|
|
||||||
assigned-clocks = <&k3_clks 102 5>;
|
|
||||||
assigned-clock-rates = <333333333>;
|
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
mux-controls = <&hbmc_mux 0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
ospi0: spi@47040000 {
|
|
||||||
compatible = "ti,am654-ospi", "cdns,qspi-nor";
|
|
||||||
reg = <0x0 0x47040000 0x0 0x100>,
|
|
||||||
<0x5 0x00000000 0x1 0x0000000>;
|
|
||||||
interrupts = <GIC_SPI 840 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
cdns,fifo-depth = <256>;
|
|
||||||
cdns,fifo-width = <4>;
|
|
||||||
cdns,trigger-address = <0x0>;
|
|
||||||
clocks = <&k3_clks 103 0>;
|
|
||||||
assigned-clocks = <&k3_clks 103 0>;
|
|
||||||
assigned-clock-parents = <&k3_clks 103 2>;
|
|
||||||
assigned-clock-rates = <166666666>;
|
|
||||||
power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
tscadc0: tscadc@40200000 {
|
|
||||||
compatible = "ti,am3359-tscadc";
|
|
||||||
reg = <0x00 0x40200000 0x00 0x1000>;
|
|
||||||
interrupts = <GIC_SPI 860 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
clocks = <&k3_clks 0 1>;
|
|
||||||
assigned-clocks = <&k3_clks 0 3>;
|
|
||||||
assigned-clock-rates = <60000000>;
|
|
||||||
clock-names = "fck";
|
|
||||||
dmas = <&main_udmap 0x7400>,
|
|
||||||
<&main_udmap 0x7401>;
|
|
||||||
dma-names = "fifo0", "fifo1";
|
|
||||||
|
|
||||||
adc {
|
|
||||||
#io-channel-cells = <1>;
|
|
||||||
compatible = "ti,am3359-adc";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_r5fss0: r5fss@41000000 {
|
|
||||||
compatible = "ti,j7200-r5fss";
|
|
||||||
ti,cluster-mode = <1>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
ranges = <0x41000000 0x00 0x41000000 0x20000>,
|
|
||||||
<0x41400000 0x00 0x41400000 0x20000>;
|
|
||||||
power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
|
|
||||||
mcu_r5fss0_core0: r5f@41000000 {
|
|
||||||
compatible = "ti,j7200-r5f";
|
|
||||||
reg = <0x41000000 0x00010000>,
|
|
||||||
<0x41010000 0x00010000>;
|
|
||||||
reg-names = "atcm", "btcm";
|
|
||||||
ti,sci = <&dmsc>;
|
|
||||||
ti,sci-dev-id = <250>;
|
|
||||||
ti,sci-proc-ids = <0x01 0xff>;
|
|
||||||
resets = <&k3_reset 250 1>;
|
|
||||||
firmware-name = "j7200-mcu-r5f0_0-fw";
|
|
||||||
ti,atcm-enable = <1>;
|
|
||||||
ti,btcm-enable = <1>;
|
|
||||||
ti,loczrama = <1>;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_r5fss0_core1: r5f@41400000 {
|
|
||||||
compatible = "ti,j7200-r5f";
|
|
||||||
reg = <0x41400000 0x00008000>,
|
|
||||||
<0x41410000 0x00008000>;
|
|
||||||
reg-names = "atcm", "btcm";
|
|
||||||
ti,sci = <&dmsc>;
|
|
||||||
ti,sci-dev-id = <251>;
|
|
||||||
ti,sci-proc-ids = <0x02 0xff>;
|
|
||||||
resets = <&k3_reset 251 1>;
|
|
||||||
firmware-name = "j7200-mcu-r5f0_1-fw";
|
|
||||||
ti,atcm-enable = <1>;
|
|
||||||
ti,btcm-enable = <1>;
|
|
||||||
ti,loczrama = <1>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_crypto: crypto@40900000 {
|
|
||||||
compatible = "ti,j721e-sa2ul";
|
|
||||||
reg = <0x00 0x40900000 0x00 0x1200>;
|
|
||||||
power-domains = <&k3_pds 265 TI_SCI_PD_SHARED>;
|
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>;
|
|
||||||
dmas = <&mcu_udmap 0xf501>, <&mcu_udmap 0x7502>,
|
|
||||||
<&mcu_udmap 0x7503>;
|
|
||||||
dma-names = "tx", "rx1", "rx2";
|
|
||||||
|
|
||||||
rng: rng@40910000 {
|
|
||||||
compatible = "inside-secure,safexcel-eip76";
|
|
||||||
reg = <0x00 0x40910000 0x00 0x7d>;
|
|
||||||
interrupts = <GIC_SPI 945 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
status = "disabled"; /* Used by OP-TEE */
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
wkup_vtm0: temperature-sensor@42040000 {
|
|
||||||
compatible = "ti,j7200-vtm";
|
|
||||||
reg = <0x00 0x42040000 0x00 0x350>,
|
|
||||||
<0x00 0x42050000 0x00 0x350>;
|
|
||||||
power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
|
|
||||||
#thermal-sensor-cells = <1>;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_esm: esm@40800000 {
|
|
||||||
compatible = "ti,j721e-esm";
|
|
||||||
reg = <0x00 0x40800000 0x00 0x1000>;
|
|
||||||
ti,esm-pins = <95>;
|
|
||||||
bootph-pre-ram;
|
|
||||||
};
|
|
||||||
};
|
|
|
@ -1,327 +0,0 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
|
||||||
/*
|
|
||||||
* Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
|
|
||||||
*/
|
|
||||||
|
|
||||||
/dts-v1/;
|
|
||||||
|
|
||||||
#include "k3-j7200.dtsi"
|
|
||||||
|
|
||||||
/ {
|
|
||||||
memory@80000000 {
|
|
||||||
device_type = "memory";
|
|
||||||
/* 4G RAM */
|
|
||||||
reg = <0x00 0x80000000 0x00 0x80000000>,
|
|
||||||
<0x08 0x80000000 0x00 0x80000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
reserved_memory: reserved-memory {
|
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
ranges;
|
|
||||||
|
|
||||||
secure_ddr: optee@9e800000 {
|
|
||||||
reg = <0x00 0x9e800000 0x00 0x01800000>;
|
|
||||||
alignment = <0x1000>;
|
|
||||||
no-map;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
|
|
||||||
compatible = "shared-dma-pool";
|
|
||||||
reg = <0x00 0xa0000000 0x00 0x100000>;
|
|
||||||
no-map;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 {
|
|
||||||
compatible = "shared-dma-pool";
|
|
||||||
reg = <0x00 0xa0100000 0x00 0xf00000>;
|
|
||||||
no-map;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
|
|
||||||
compatible = "shared-dma-pool";
|
|
||||||
reg = <0x00 0xa1000000 0x00 0x100000>;
|
|
||||||
no-map;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
|
|
||||||
compatible = "shared-dma-pool";
|
|
||||||
reg = <0x00 0xa1100000 0x00 0xf00000>;
|
|
||||||
no-map;
|
|
||||||
};
|
|
||||||
|
|
||||||
main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a2000000 {
|
|
||||||
compatible = "shared-dma-pool";
|
|
||||||
reg = <0x00 0xa2000000 0x00 0x100000>;
|
|
||||||
no-map;
|
|
||||||
};
|
|
||||||
|
|
||||||
main_r5fss0_core0_memory_region: r5f-memory@a2100000 {
|
|
||||||
compatible = "shared-dma-pool";
|
|
||||||
reg = <0x00 0xa2100000 0x00 0xf00000>;
|
|
||||||
no-map;
|
|
||||||
};
|
|
||||||
|
|
||||||
main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a3000000 {
|
|
||||||
compatible = "shared-dma-pool";
|
|
||||||
reg = <0x00 0xa3000000 0x00 0x100000>;
|
|
||||||
no-map;
|
|
||||||
};
|
|
||||||
|
|
||||||
main_r5fss0_core1_memory_region: r5f-memory@a3100000 {
|
|
||||||
compatible = "shared-dma-pool";
|
|
||||||
reg = <0x00 0xa3100000 0x00 0xf00000>;
|
|
||||||
no-map;
|
|
||||||
};
|
|
||||||
|
|
||||||
rtos_ipc_memory_region: ipc-memories@a4000000 {
|
|
||||||
reg = <0x00 0xa4000000 0x00 0x00800000>;
|
|
||||||
alignment = <0x1000>;
|
|
||||||
no-map;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&wkup_pmx0 {
|
|
||||||
mcu_fss0_hpb0_pins_default: mcu-fss0-hpb0-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_WKUP_IOPAD(0x0, PIN_OUTPUT, 1) /* (B6) MCU_OSPI0_CLK.MCU_HYPERBUS0_CK */
|
|
||||||
J721E_WKUP_IOPAD(0x4, PIN_OUTPUT, 1) /* (C8) MCU_OSPI0_LBCLKO.MCU_HYPERBUS0_CKn */
|
|
||||||
J721E_WKUP_IOPAD(0x2c, PIN_OUTPUT, 1) /* (D6) MCU_OSPI0_CSn0.MCU_HYPERBUS0_CSn0 */
|
|
||||||
J721E_WKUP_IOPAD(0x30, PIN_OUTPUT, 1) /* (D7) MCU_OSPI0_CSn1.MCU_HYPERBUS0_RESETn */
|
|
||||||
J721E_WKUP_IOPAD(0x8, PIN_INPUT, 1) /* (B7) MCU_OSPI0_DQS.MCU_HYPERBUS0_RWDS */
|
|
||||||
J721E_WKUP_IOPAD(0xc, PIN_INPUT, 1) /* (D8) MCU_OSPI0_D0.MCU_HYPERBUS0_DQ0 */
|
|
||||||
J721E_WKUP_IOPAD(0x10, PIN_INPUT, 1) /* (C7) MCU_OSPI0_D1.MCU_HYPERBUS0_DQ1 */
|
|
||||||
J721E_WKUP_IOPAD(0x14, PIN_INPUT, 1) /* (C5) MCU_OSPI0_D2.MCU_HYPERBUS0_DQ2 */
|
|
||||||
J721E_WKUP_IOPAD(0x18, PIN_INPUT, 1) /* (A5) MCU_OSPI0_D3.MCU_HYPERBUS0_DQ3 */
|
|
||||||
J721E_WKUP_IOPAD(0x1c, PIN_INPUT, 1) /* (A6) MCU_OSPI0_D4.MCU_HYPERBUS0_DQ4 */
|
|
||||||
J721E_WKUP_IOPAD(0x20, PIN_INPUT, 1) /* (B8) MCU_OSPI0_D5.MCU_HYPERBUS0_DQ5 */
|
|
||||||
J721E_WKUP_IOPAD(0x24, PIN_INPUT, 1) /* (A8) MCU_OSPI0_D6.MCU_HYPERBUS0_DQ6 */
|
|
||||||
J721E_WKUP_IOPAD(0x28, PIN_INPUT, 1) /* (A7) MCU_OSPI0_D7.MCU_HYPERBUS0_DQ7 */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_OSPI0_CLK */
|
|
||||||
J721E_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* MCU_OSPI0_CSn0 */
|
|
||||||
J721E_WKUP_IOPAD(0x000c, PIN_INPUT, 0) /* MCU_OSPI0_D0 */
|
|
||||||
J721E_WKUP_IOPAD(0x0010, PIN_INPUT, 0) /* MCU_OSPI0_D1 */
|
|
||||||
J721E_WKUP_IOPAD(0x0014, PIN_INPUT, 0) /* MCU_OSPI0_D2 */
|
|
||||||
J721E_WKUP_IOPAD(0x0018, PIN_INPUT, 0) /* MCU_OSPI0_D3 */
|
|
||||||
J721E_WKUP_IOPAD(0x001c, PIN_INPUT, 0) /* MCU_OSPI0_D4 */
|
|
||||||
J721E_WKUP_IOPAD(0x0020, PIN_INPUT, 0) /* MCU_OSPI0_D5 */
|
|
||||||
J721E_WKUP_IOPAD(0x0024, PIN_INPUT, 0) /* MCU_OSPI0_D6 */
|
|
||||||
J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* MCU_OSPI0_D7 */
|
|
||||||
J721E_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* MCU_OSPI0_DQS */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&wkup_pmx2 {
|
|
||||||
wkup_i2c0_pins_default: wkup-i2c0-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_WKUP_IOPAD(0x98, PIN_INPUT_PULLUP, 0) /* (F20) WKUP_I2C0_SCL */
|
|
||||||
J721E_WKUP_IOPAD(0x9c, PIN_INPUT_PULLUP, 0) /* (H21) WKUP_I2C0_SDA */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_pmx0 {
|
|
||||||
main_i2c0_pins_default: main-i2c0-default-pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
J721E_IOPAD(0xd4, PIN_INPUT_PULLUP, 0) /* (V3) I2C0_SCL */
|
|
||||||
J721E_IOPAD(0xd8, PIN_INPUT_PULLUP, 0) /* (W2) I2C0_SDA */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&hbmc {
|
|
||||||
/* OSPI and HBMC are muxed inside FSS, Bootloader will enable
|
|
||||||
* appropriate node based on board detection
|
|
||||||
*/
|
|
||||||
status = "disabled";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mcu_fss0_hpb0_pins_default>;
|
|
||||||
ranges = <0x00 0x00 0x05 0x00000000 0x4000000>, /* 64MB Flash on CS0 */
|
|
||||||
<0x01 0x00 0x05 0x04000000 0x800000>; /* 8MB RAM on CS1 */
|
|
||||||
|
|
||||||
flash@0,0 {
|
|
||||||
compatible = "cypress,hyperflash", "cfi-flash";
|
|
||||||
reg = <0x00 0x00 0x4000000>;
|
|
||||||
|
|
||||||
partitions {
|
|
||||||
compatible = "fixed-partitions";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "hbmc.tiboot3";
|
|
||||||
reg = <0x0 0x100000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@100000 {
|
|
||||||
label = "hbmc.tispl";
|
|
||||||
reg = <0x100000 0x200000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@300000 {
|
|
||||||
label = "hbmc.u-boot";
|
|
||||||
reg = <0x300000 0x400000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@700000 {
|
|
||||||
label = "hbmc.env";
|
|
||||||
reg = <0x700000 0x40000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@800000 {
|
|
||||||
label = "hbmc.rootfs";
|
|
||||||
reg = <0x800000 0x3800000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&mailbox0_cluster0 {
|
|
||||||
status = "okay";
|
|
||||||
interrupts = <436>;
|
|
||||||
|
|
||||||
mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
|
|
||||||
ti,mbox-rx = <0 0 0>;
|
|
||||||
ti,mbox-tx = <1 0 0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
|
|
||||||
ti,mbox-rx = <2 0 0>;
|
|
||||||
ti,mbox-tx = <3 0 0>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&mailbox0_cluster1 {
|
|
||||||
status = "okay";
|
|
||||||
interrupts = <432>;
|
|
||||||
|
|
||||||
mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
|
|
||||||
ti,mbox-rx = <0 0 0>;
|
|
||||||
ti,mbox-tx = <1 0 0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
|
|
||||||
ti,mbox-rx = <2 0 0>;
|
|
||||||
ti,mbox-tx = <3 0 0>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&mcu_r5fss0_core0 {
|
|
||||||
mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>;
|
|
||||||
memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
|
|
||||||
<&mcu_r5fss0_core0_memory_region>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&mcu_r5fss0_core1 {
|
|
||||||
mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core1>;
|
|
||||||
memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
|
|
||||||
<&mcu_r5fss0_core1_memory_region>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_r5fss0_core0 {
|
|
||||||
mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core0>;
|
|
||||||
memory-region = <&main_r5fss0_core0_dma_memory_region>,
|
|
||||||
<&main_r5fss0_core0_memory_region>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_r5fss0_core1 {
|
|
||||||
mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core1>;
|
|
||||||
memory-region = <&main_r5fss0_core1_dma_memory_region>,
|
|
||||||
<&main_r5fss0_core1_memory_region>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&main_i2c0 {
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&main_i2c0_pins_default>;
|
|
||||||
clock-frequency = <400000>;
|
|
||||||
|
|
||||||
exp_som: gpio@21 {
|
|
||||||
compatible = "ti,tca6408";
|
|
||||||
reg = <0x21>;
|
|
||||||
gpio-controller;
|
|
||||||
#gpio-cells = <2>;
|
|
||||||
gpio-line-names = "USB2.0_MUX_SEL", "CANUART_MUX1_SEL0",
|
|
||||||
"CANUART_MUX2_SEL0", "CANUART_MUX_SEL1",
|
|
||||||
"UART/LIN_MUX_SEL", "TRC_D17/AUDIO_REFCLK_SEL",
|
|
||||||
"GPIO_LIN_EN", "CAN_STB";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&wkup_i2c0 {
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&wkup_i2c0_pins_default>;
|
|
||||||
clock-frequency = <400000>;
|
|
||||||
|
|
||||||
eeprom@50 {
|
|
||||||
compatible = "atmel,24c256";
|
|
||||||
reg = <0x50>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&ospi0 {
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
|
|
||||||
|
|
||||||
flash@0 {
|
|
||||||
compatible = "jedec,spi-nor";
|
|
||||||
reg = <0x0>;
|
|
||||||
spi-tx-bus-width = <8>;
|
|
||||||
spi-rx-bus-width = <8>;
|
|
||||||
spi-max-frequency = <25000000>;
|
|
||||||
cdns,tshsl-ns = <60>;
|
|
||||||
cdns,tsd2d-ns = <60>;
|
|
||||||
cdns,tchsh-ns = <60>;
|
|
||||||
cdns,tslch-ns = <60>;
|
|
||||||
cdns,read-delay = <4>;
|
|
||||||
|
|
||||||
partitions {
|
|
||||||
compatible = "fixed-partitions";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "ospi.tiboot3";
|
|
||||||
reg = <0x0 0x100000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@100000 {
|
|
||||||
label = "ospi.tispl";
|
|
||||||
reg = <0x100000 0x200000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@300000 {
|
|
||||||
label = "ospi.u-boot";
|
|
||||||
reg = <0x300000 0x400000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@700000 {
|
|
||||||
label = "ospi.env";
|
|
||||||
reg = <0x700000 0x40000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@740000 {
|
|
||||||
label = "ospi.env.backup";
|
|
||||||
reg = <0x740000 0x40000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@800000 {
|
|
||||||
label = "ospi.rootfs";
|
|
||||||
reg = <0x800000 0x37c0000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@3fc0000 {
|
|
||||||
label = "ospi.phypattern";
|
|
||||||
reg = <0x3fc0000 0x40000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
|
@ -1,47 +0,0 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
|
||||||
|
|
||||||
#include <dt-bindings/thermal/thermal.h>
|
|
||||||
|
|
||||||
thermal_zones: thermal-zones {
|
|
||||||
mcu_thermal: mcu-thermal {
|
|
||||||
polling-delay-passive = <250>; /* milliseconds */
|
|
||||||
polling-delay = <500>; /* milliseconds */
|
|
||||||
thermal-sensors = <&wkup_vtm0 0>;
|
|
||||||
|
|
||||||
trips {
|
|
||||||
wkup_crit: wkup-crit {
|
|
||||||
temperature = <125000>; /* milliCelsius */
|
|
||||||
hysteresis = <2000>; /* milliCelsius */
|
|
||||||
type = "critical";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
mpu_thermal: mpu-thermal {
|
|
||||||
polling-delay-passive = <250>; /* milliseconds */
|
|
||||||
polling-delay = <500>; /* milliseconds */
|
|
||||||
thermal-sensors = <&wkup_vtm0 1>;
|
|
||||||
|
|
||||||
trips {
|
|
||||||
mpu_crit: mpu-crit {
|
|
||||||
temperature = <125000>; /* milliCelsius */
|
|
||||||
hysteresis = <2000>; /* milliCelsius */
|
|
||||||
type = "critical";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
main_thermal: main-thermal {
|
|
||||||
polling-delay-passive = <250>; /* milliseconds */
|
|
||||||
polling-delay = <500>; /* milliseconds */
|
|
||||||
thermal-sensors = <&wkup_vtm0 2>;
|
|
||||||
|
|
||||||
trips {
|
|
||||||
c7x_crit: c7x-crit {
|
|
||||||
temperature = <125000>; /* milliCelsius */
|
|
||||||
hysteresis = <2000>; /* milliCelsius */
|
|
||||||
type = "critical";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
|
@ -1,164 +0,0 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
|
||||||
/*
|
|
||||||
* Device Tree Source for J7200 SoC Family
|
|
||||||
*
|
|
||||||
* Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <dt-bindings/interrupt-controller/irq.h>
|
|
||||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
||||||
#include <dt-bindings/soc/ti,sci_pm_domain.h>
|
|
||||||
|
|
||||||
#include "k3-pinctrl.h"
|
|
||||||
|
|
||||||
/ {
|
|
||||||
model = "Texas Instruments K3 J7200 SoC";
|
|
||||||
compatible = "ti,j7200";
|
|
||||||
interrupt-parent = <&gic500>;
|
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
|
|
||||||
chosen { };
|
|
||||||
|
|
||||||
cpus {
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
cpu-map {
|
|
||||||
cluster0: cluster0 {
|
|
||||||
core0 {
|
|
||||||
cpu = <&cpu0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
core1 {
|
|
||||||
cpu = <&cpu1>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
cpu0: cpu@0 {
|
|
||||||
compatible = "arm,cortex-a72";
|
|
||||||
reg = <0x000>;
|
|
||||||
device_type = "cpu";
|
|
||||||
enable-method = "psci";
|
|
||||||
i-cache-size = <0xc000>;
|
|
||||||
i-cache-line-size = <64>;
|
|
||||||
i-cache-sets = <256>;
|
|
||||||
d-cache-size = <0x8000>;
|
|
||||||
d-cache-line-size = <64>;
|
|
||||||
d-cache-sets = <256>;
|
|
||||||
next-level-cache = <&L2_0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
cpu1: cpu@1 {
|
|
||||||
compatible = "arm,cortex-a72";
|
|
||||||
reg = <0x001>;
|
|
||||||
device_type = "cpu";
|
|
||||||
enable-method = "psci";
|
|
||||||
i-cache-size = <0xc000>;
|
|
||||||
i-cache-line-size = <64>;
|
|
||||||
i-cache-sets = <256>;
|
|
||||||
d-cache-size = <0x8000>;
|
|
||||||
d-cache-line-size = <64>;
|
|
||||||
d-cache-sets = <256>;
|
|
||||||
next-level-cache = <&L2_0>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
L2_0: l2-cache0 {
|
|
||||||
compatible = "cache";
|
|
||||||
cache-level = <2>;
|
|
||||||
cache-unified;
|
|
||||||
cache-size = <0x100000>;
|
|
||||||
cache-line-size = <64>;
|
|
||||||
cache-sets = <1024>;
|
|
||||||
next-level-cache = <&msmc_l3>;
|
|
||||||
};
|
|
||||||
|
|
||||||
msmc_l3: l3-cache0 {
|
|
||||||
compatible = "cache";
|
|
||||||
cache-level = <3>;
|
|
||||||
cache-unified;
|
|
||||||
};
|
|
||||||
|
|
||||||
firmware {
|
|
||||||
optee {
|
|
||||||
compatible = "linaro,optee-tz";
|
|
||||||
method = "smc";
|
|
||||||
};
|
|
||||||
|
|
||||||
psci: psci {
|
|
||||||
compatible = "arm,psci-1.0";
|
|
||||||
method = "smc";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
a72_timer0: timer-cl0-cpu0 {
|
|
||||||
compatible = "arm,armv8-timer";
|
|
||||||
interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* cntpsirq */
|
|
||||||
<GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* cntpnsirq */
|
|
||||||
<GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* cntvirq */
|
|
||||||
<GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* cnthpirq */
|
|
||||||
};
|
|
||||||
|
|
||||||
pmu: pmu {
|
|
||||||
compatible = "arm,cortex-a72-pmu";
|
|
||||||
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
};
|
|
||||||
|
|
||||||
cbass_main: bus@100000 {
|
|
||||||
compatible = "simple-bus";
|
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
|
|
||||||
<0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */
|
|
||||||
<0x00 0x00700000 0x00 0x00700000 0x00 0x00001000>, /* ESM */
|
|
||||||
<0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* timesync router */
|
|
||||||
<0x00 0x01000000 0x00 0x01000000 0x00 0x0d000000>, /* Most peripherals */
|
|
||||||
<0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>, /* MAIN NAVSS */
|
|
||||||
<0x00 0x6f000000 0x00 0x6f000000 0x00 0x00310000>, /* A72 PERIPHBASE */
|
|
||||||
<0x00 0x70000000 0x00 0x70000000 0x00 0x00800000>, /* MSMC RAM */
|
|
||||||
<0x00 0x18000000 0x00 0x18000000 0x00 0x08000000>, /* PCIe1 DAT0 */
|
|
||||||
<0x41 0x00000000 0x41 0x00000000 0x01 0x00000000>, /* PCIe1 DAT1 */
|
|
||||||
|
|
||||||
/* MCUSS_WKUP Range */
|
|
||||||
<0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>,
|
|
||||||
<0x00 0x40200000 0x00 0x40200000 0x00 0x00998400>,
|
|
||||||
<0x00 0x40f00000 0x00 0x40f00000 0x00 0x00020000>,
|
|
||||||
<0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>,
|
|
||||||
<0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>,
|
|
||||||
<0x00 0x41c00000 0x00 0x41c00000 0x00 0x00100000>,
|
|
||||||
<0x00 0x42040000 0x00 0x42040000 0x00 0x03ac2400>,
|
|
||||||
<0x00 0x45100000 0x00 0x45100000 0x00 0x00c24000>,
|
|
||||||
<0x00 0x46000000 0x00 0x46000000 0x00 0x00200000>,
|
|
||||||
<0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>,
|
|
||||||
<0x00 0x50000000 0x00 0x50000000 0x00 0x10000000>,
|
|
||||||
<0x05 0x00000000 0x05 0x00000000 0x01 0x00000000>,
|
|
||||||
<0x07 0x00000000 0x07 0x00000000 0x01 0x00000000>;
|
|
||||||
|
|
||||||
cbass_mcu_wakeup: bus@28380000 {
|
|
||||||
compatible = "simple-bus";
|
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, /* MCU NAVSS*/
|
|
||||||
<0x00 0x40200000 0x00 0x40200000 0x00 0x00998400>, /* First peripheral window */
|
|
||||||
<0x00 0x40f00000 0x00 0x40f00000 0x00 0x00020000>, /* CTRL_MMR0 */
|
|
||||||
<0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>, /* MCU R5F Core0 */
|
|
||||||
<0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>, /* MCU R5F Core1 */
|
|
||||||
<0x00 0x41c00000 0x00 0x41c00000 0x00 0x00100000>, /* MCU SRAM */
|
|
||||||
<0x00 0x42040000 0x00 0x42040000 0x00 0x03ac2400>, /* WKUP peripheral window */
|
|
||||||
<0x00 0x45100000 0x00 0x45100000 0x00 0x00c24000>, /* MMRs, remaining NAVSS */
|
|
||||||
<0x00 0x46000000 0x00 0x46000000 0x00 0x00200000>, /* CPSW */
|
|
||||||
<0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>, /* OSPI register space */
|
|
||||||
<0x00 0x50000000 0x00 0x50000000 0x00 0x10000000>, /* FSS OSPI0/1 data region 0 */
|
|
||||||
<0x05 0x00000000 0x05 0x00000000 0x01 0x00000000>, /* FSS OSPI0 data region 3 */
|
|
||||||
<0x07 0x00000000 0x07 0x00000000 0x01 0x00000000>; /* FSS OSPI1 data region 3 */
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
#include "k3-j7200-thermal.dtsi"
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Now include the peripherals for each bus segments */
|
|
||||||
#include "k3-j7200-main.dtsi"
|
|
||||||
#include "k3-j7200-mcu-wakeup.dtsi"
|
|
|
@ -15,7 +15,7 @@ CONFIG_SF_DEFAULT_MODE=0
|
||||||
CONFIG_ENV_SIZE=0x20000
|
CONFIG_ENV_SIZE=0x20000
|
||||||
CONFIG_DM_GPIO=y
|
CONFIG_DM_GPIO=y
|
||||||
CONFIG_SPL_DM_SPI=y
|
CONFIG_SPL_DM_SPI=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="k3-j7200-common-proc-board"
|
CONFIG_DEFAULT_DEVICE_TREE="ti/k3-j7200-common-proc-board"
|
||||||
CONFIG_SPL_TEXT_BASE=0x80080000
|
CONFIG_SPL_TEXT_BASE=0x80080000
|
||||||
CONFIG_OF_LIBFDT_OVERLAY=y
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
||||||
CONFIG_DM_RESET=y
|
CONFIG_DM_RESET=y
|
||||||
|
@ -96,6 +96,7 @@ CONFIG_REGMAP=y
|
||||||
CONFIG_SPL_REGMAP=y
|
CONFIG_SPL_REGMAP=y
|
||||||
CONFIG_SPL_SYSCON=y
|
CONFIG_SPL_SYSCON=y
|
||||||
CONFIG_SPL_OF_TRANSLATE=y
|
CONFIG_SPL_OF_TRANSLATE=y
|
||||||
|
CONFIG_OF_UPSTREAM=y
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_SPL_CLK=y
|
CONFIG_SPL_CLK=y
|
||||||
CONFIG_CLK_CCF=y
|
CONFIG_CLK_CCF=y
|
||||||
|
|
Loading…
Add table
Reference in a new issue