Skip to content

Commit

Permalink
arm: dts: j7200: dts sync with Linux 6.6-rc1
Browse files Browse the repository at this point in the history
Sync j7200 dts with Linux 6.6-rc1

- k3-j7200-r5-common-proc-board.dts now inherits from
  k3-j7200-common-proc-board.dts instead of k3-j7200-som-p0.dtsi. This
  allows us to trim down the r5 file considerably by using existing
  properties

- remove pimux nodes from r5 file

- remove duplicate nodes & node properties from r5/u-boot files

- mcu_timer0 now used instead of timer1

  mcu_timer0 device id added to dev-data.c file in order to work

- remove cpsw node

  This node is no longer required since the compatible is now fixed

- remove dummy_clock_19_2_mhz

  This node wasn't being used anyhere, so it was removed

- remove dummy_clock_200mhz

  main_sdhci0 & main_sdhci1 no longer need dummy clock for eMMC/SD

- fix secure proxy node

  mcu_secproxy changed to used secure_prxy_mcu which is already
  defined in k3-j7200-mcu-wakeup.dtsi

- removed &mcu_ringacc property override since they're present in
  v6.6-rc1

Signed-off-by: Reid Tonking <[email protected]>
Reviewed-by: Nishanth Menon <[email protected]>
  • Loading branch information
reidt1 authored and trini committed Oct 12, 2023
1 parent 83eb443 commit df73e79
Show file tree
Hide file tree
Showing 8 changed files with 1,206 additions and 541 deletions.
208 changes: 109 additions & 99 deletions arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
Original file line number Diff line number Diff line change
@@ -1,200 +1,210 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
* Copyright (C) 2020-2023 Texas Instruments Incorporated - https://www.ti.com/
*/

#include "k3-j7200-binman.dtsi"

/ {
chosen {
stdout-path = "serial2:115200n8";
tick-timer = &timer1;
};

aliases {
ethernet0 = &cpsw_port1;
i2c0 = &wkup_i2c0;
i2c1 = &mcu_i2c0;
i2c2 = &mcu_i2c1;
i2c3 = &main_i2c0;
tick-timer = &mcu_timer0;
};
};

&cbass_main {
bootph-pre-ram;
bootph-all;
};

&main_navss {
bootph-pre-ram;
bootph-all;
};

&main_esm {
bootph-all;
};

&cbass_mcu_wakeup {
bootph-pre-ram;

timer1: timer@40400000 {
compatible = "ti,omap5430-timer";
reg = <0x0 0x40400000 0x0 0x80>;
ti,timer-alwon;
clock-frequency = <250000000>;
bootph-pre-ram;
};
bootph-all;

chipid@43000014 {
bootph-pre-ram;
bootph-all;
};
};

mcu_navss: bus@28380000 {
bootph-pre-ram;
#address-cells = <2>;
#size-cells = <2>;

ringacc@2b800000 {
reg = <0x0 0x2b800000 0x0 0x400000>,
<0x0 0x2b000000 0x0 0x400000>,
<0x0 0x28590000 0x0 0x100>,
<0x0 0x2a500000 0x0 0x40000>,
<0x0 0x28440000 0x0 0x40000>;
reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg";
bootph-pre-ram;
};

dma-controller@285c0000 {
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-pre-ram;
};
};
&mcu_navss {
bootph-all;
};

&mcu_ringacc {
bootph-all;
};

&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;
};

&secure_proxy_main {
bootph-pre-ram;
bootph-all;
};

&dmsc {
bootph-pre-ram;
bootph-all;
k3_sysreset: sysreset-controller {
compatible = "ti,sci-sysreset";
bootph-pre-ram;
bootph-all;
};
};

&k3_pds {
bootph-pre-ram;
bootph-all;
};

&k3_clks {
bootph-pre-ram;
bootph-all;
};

&k3_reset {
bootph-pre-ram;
bootph-all;
};

&wkup_pmx0 {
bootph-pre-ram;
bootph-all;
};

&wkup_pmx2 {
bootph-all;
};

&main_pmx0 {
bootph-pre-ram;
bootph-all;
};

&main_uart0 {
bootph-pre-ram;
bootph-all;
};

&main_uart2 {
bootph-all;
};

&mcu_uart0 {
bootph-pre-ram;
bootph-all;
};

&main_sdhci0 {
bootph-pre-ram;
bootph-all;
};

&main_sdhci1 {
bootph-pre-ram;
bootph-all;
};

&wkup_i2c0 {
bootph-pre-ram;
bootph-all;
};

&main_i2c0 {
bootph-pre-ram;
bootph-all;
};

&main_i2c0_pins_default {
bootph-pre-ram;
&exp1 {
bootph-all;
};

&exp2 {
bootph-pre-ram;
bootph-all;
};

&mcu_cpsw {
reg = <0x0 0x46000000 0x0 0x200000>,
<0x0 0x40f00200 0x0 0x8>;
reg-names = "cpsw_nuss", "mac_efuse";
/delete-property/ ranges;

cpsw-phy-sel@40f04040 {
compatible = "ti,am654-cpsw-phy-sel";
reg= <0x0 0x40f04040 0x0 0x4>;
reg-names = "gmii-sel";
};
bootph-all;
};

&main_usbss0_pins_default {
bootph-pre-ram;
&mcu_uart0 {
bootph-all;
};

&usbss0 {
bootph-pre-ram;
ti,usb2-only;
&wkup_i2c0 {
bootph-all;
};

&usb0 {
dr_mode = "peripheral";
bootph-pre-ram;
&wkup_uart0 {
bootph-all;
};

&mcu_fss0_hpb0_pins_default {
bootph-pre-ram;
&fss {
bootph-all;
};

&fss {
bootph-pre-ram;
&main_uart0_pins_default {
bootph-all;
};

&main_mmc1_pins_default {
bootph-all;
};

&main_i2c0_pins_default {
bootph-all;
};

&wkup_i2c0_pins_default {
bootph-all;
};

&wkup_uart0_pins_default {
bootph-all;
};

&wkup_gpio_pins_default {
bootph-all;
};

&wkup_gpio0 {
bootph-all;
};

&hbmc {
bootph-pre-ram;
bootph-all;

flash@0,0 {
bootph-pre-ram;
bootph-all;
};
};

&hbmc_mux {
bootph-pre-ram;
bootph-all;
};

&usbss0 {
bootph-all;
ti,usb2-only;
};

&usb0 {
dr_mode = "peripheral";
bootph-all;
};

&ospi0 {
bootph-all;
};

&serdes_ln_ctrl {
u-boot,mux-autoprobe;
bootph-all;
};

&usb_serdes_mux {
u-boot,mux-autoprobe;
bootph-all;
};

&serdes0 {
bootph-pre-ram;
};

&main_r5fss0 {
ti,cluster-mode = <0>;
bootph-all;
};
Loading

0 comments on commit df73e79

Please sign in to comment.