Skip to content

Commit a0286c7

Browse files
nkydvr-vignesh
authored andcommitted
arm64: dts: ti: k3-am62: Add GPMC and ELM nodes
Add GPMC and ELM device tree nodes for AM62 SoC family. Signed-off-by: Nitin Yadav <n-yadav@ti.com> Signed-off-by: Roger Quadros <rogerq@kernel.org> Link: https://lore.kernel.org/r/20240622-am62lp-sk-nand-v1-1-caee496eaf42@kernel.org Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
1 parent 3a36c53 commit a0286c7

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

arch/arm64/boot/dts/ti/k3-am62-main.dtsi

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,4 +1053,33 @@
10531053
status = "disabled";
10541054
};
10551055

1056+
gpmc0: memory-controller@3b000000 {
1057+
compatible = "ti,am64-gpmc";
1058+
power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
1059+
clocks = <&k3_clks 80 0>;
1060+
clock-names = "fck";
1061+
reg = <0x00 0x03b000000 0x00 0x400>,
1062+
<0x00 0x050000000 0x00 0x8000000>;
1063+
reg-names = "cfg", "data";
1064+
interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
1065+
gpmc,num-cs = <3>;
1066+
gpmc,num-waitpins = <2>;
1067+
#address-cells = <2>;
1068+
#size-cells = <1>;
1069+
interrupt-controller;
1070+
#interrupt-cells = <2>;
1071+
gpio-controller;
1072+
#gpio-cells = <2>;
1073+
status = "disabled";
1074+
};
1075+
1076+
elm0: ecc@25010000 {
1077+
compatible = "ti,am64-elm";
1078+
reg = <0x00 0x25010000 0x00 0x2000>;
1079+
interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
1080+
power-domains = <&k3_pds 54 TI_SCI_PD_EXCLUSIVE>;
1081+
clocks = <&k3_clks 54 0>;
1082+
clock-names = "fck";
1083+
status = "disabled";
1084+
};
10561085
};

arch/arm64/boot/dts/ti/k3-am62.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,13 @@
6868
<0x00 0x30200000 0x00 0x30200000 0x00 0x00010000>, /* DSS */
6969
<0x00 0x31000000 0x00 0x31000000 0x00 0x00050000>, /* USB0 DWC3 Core window */
7070
<0x00 0x31100000 0x00 0x31100000 0x00 0x00050000>, /* USB1 DWC3 Core window */
71+
<0x00 0x3b000000 0x00 0x3b000000 0x00 0x00000400>, /* GPMC0_CFG */
7172
<0x00 0x40900000 0x00 0x40900000 0x00 0x00030000>, /* SA3UL */
7273
<0x00 0x43600000 0x00 0x43600000 0x00 0x00010000>, /* SA3 sproxy data */
7374
<0x00 0x44043000 0x00 0x44043000 0x00 0x00000fe0>, /* TI SCI DEBUG */
7475
<0x00 0x44860000 0x00 0x44860000 0x00 0x00040000>, /* SA3 sproxy config */
7576
<0x00 0x48000000 0x00 0x48000000 0x00 0x06400000>, /* DMSS */
77+
<0x00 0x50000000 0x00 0x50000000 0x00 0x08000000>, /* GPMC0 DATA */
7678
<0x00 0x60000000 0x00 0x60000000 0x00 0x08000000>, /* FSS0 DAT1 */
7779
<0x00 0x70000000 0x00 0x70000000 0x00 0x00010000>, /* OCSRAM */
7880
<0x01 0x00000000 0x01 0x00000000 0x00 0x00310000>, /* A53 PERIPHBASE */

0 commit comments

Comments
 (0)