Debian Codegraph @

scripts/dtc/include-prefixes/arm64/ti/k3-am68-sk-som.dtsi

raw
1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
2 /*
3 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6 /dts-v1/;
7
8 #include "k3-j721s2.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10
11 / {
12 memory@80000000 {
13 device_type = "memory";
14 bootph-all;
15 /* 16 GB RAM */
16 reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
17 <0x00000008 0x80000000 0x00000003 0x80000000>;
18 };
19
20 reserved_memory: reserved-memory {
21 #address-cells = <2>;
22 #size-cells = <2>;
23 ranges;
24
25 secure_ddr: optee@9e800000 {
26 reg = <0x00 0x9e800000 0x00 0x01800000>;
27 no-map;
28 };
29
30 mcu_r5fss0_core0_dma_memory_region: memory@a0000000 {
31 compatible = "shared-dma-pool";
32 reg = <0x00 0xa0000000 0x00 0x100000>;
33 no-map;
34 };
35
36 mcu_r5fss0_core0_memory_region: memory@a0100000 {
37 compatible = "shared-dma-pool";
38 reg = <0x00 0xa0100000 0x00 0xf00000>;
39 no-map;
40 };
41 };
42 };
43
44 &wkup_pmx0 {
45 mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins {
46 bootph-all;
47 pinctrl-single,pins = <
48 J721S2_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (D19) MCU_OSPI0_CLK */
49 J721S2_WKUP_IOPAD(0x02c, PIN_OUTPUT, 0) /* (F15) MCU_OSPI0_CSn0 */
50 J721S2_WKUP_IOPAD(0x00c, PIN_INPUT, 0) /* (C19) MCU_OSPI0_D0 */
51 J721S2_WKUP_IOPAD(0x010, PIN_INPUT, 0) /* (F16) MCU_OSPI0_D1 */
52 J721S2_WKUP_IOPAD(0x014, PIN_INPUT, 0) /* (G15) MCU_OSPI0_D2 */
53 J721S2_WKUP_IOPAD(0x018, PIN_INPUT, 0) /* (F18) MCU_OSPI0_D3 */
54 J721S2_WKUP_IOPAD(0x01c, PIN_INPUT, 0) /* (E19) MCU_OSPI0_D4 */
55 J721S2_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (G19) MCU_OSPI0_D5 */
56 J721S2_WKUP_IOPAD(0x024, PIN_INPUT, 0) /* (F19) MCU_OSPI0_D6 */
57 J721S2_WKUP_IOPAD(0x028, PIN_INPUT, 0) /* (F20) MCU_OSPI0_D7 */
58 J721S2_WKUP_IOPAD(0x008, PIN_INPUT, 0) /* (E18) MCU_OSPI0_DQS */
59 >;
60 };
61 };
62
63 &wkup_pmx2 {
64 wkup_i2c0_pins_default: wkup-i2c0-default-pins {
65 pinctrl-single,pins = <
66 J721S2_WKUP_IOPAD(0x098, PIN_INPUT, 0) /* (H24) WKUP_I2C0_SCL */
67 J721S2_WKUP_IOPAD(0x09c, PIN_INPUT, 0) /* (H27) WKUP_I2C0_SDA */
68 >;
69 bootph-all;
70 };
71 };
72
73 &wkup_i2c0 {
74 status = "okay";
75 pinctrl-names = "default";
76 pinctrl-0 = <&wkup_i2c0_pins_default>;
77 clock-frequency = <400000>;
78
79 eeprom@51 {
80 /* AT24C512C-MAHM-T */
81 compatible = "atmel,24c512";
82 reg = <0x51>;
83 bootph-all;
84 };
85 };
86
87 &ospi0 {
88 status = "okay";
89 pinctrl-names = "default";
90 pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
91
92 flash@0 {
93 compatible = "jedec,spi-nor";
94 reg = <0x0>;
95 spi-tx-bus-width = <8>;
96 spi-rx-bus-width = <8>;
97 spi-max-frequency = <25000000>;
98 cdns,tshsl-ns = <60>;
99 cdns,tsd2d-ns = <60>;
100 cdns,tchsh-ns = <60>;
101 cdns,tslch-ns = <60>;
102 cdns,read-delay = <4>;
103
104 partitions {
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
107 #size-cells = <1>;
108
109 partition@0 {
110 label = "ospi.tiboot3";
111 reg = <0x0 0x80000>;
112 };
113
114 partition@80000 {
115 label = "ospi.tispl";
116 reg = <0x80000 0x200000>;
117 };
118
119 partition@280000 {
120 label = "ospi.u-boot";
121 reg = <0x280000 0x400000>;
122 };
123
124 partition@680000 {
125 label = "ospi.env";
126 reg = <0x680000 0x40000>;
127 };
128
129 partition@6c0000 {
130 label = "ospi.env.backup";
131 reg = <0x6c0000 0x40000>;
132 };
133
134 partition@800000 {
135 label = "ospi.rootfs";
136 reg = <0x800000 0x37c0000>;
137 };
138
139 partition@3fc0000 {
140 label = "ospi.phypattern";
141 reg = <0x3fc0000 0x40000>;
142 bootph-all;
143 };
144 };
145 };
146 };
147
148 #include "k3-j721s2-ti-ipc-firmware.dtsi"