1 // SPDX-License-Identifier: GPL-2.0
3 * dts file for Xilinx ZynqMP SM-K26 rev1/B/A
5 * (C) Copyright 2020 - 2021, Xilinx, Inc.
7 * Michal Simek <michal.simek@xilinx.com>
12 #include "zynqmp.dtsi"
13 #include "zynqmp-clk-ccf.dtsi"
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/phy/phy.h>
17 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
20 model = "ZynqMP SM-K26 Rev1/B/A";
21 compatible = "xlnx,zynqmp-sm-k26-rev1", "xlnx,zynqmp-sm-k26-revB",
22 "xlnx,zynqmp-sm-k26-revA", "xlnx,zynqmp-sm-k26",
44 bootargs = "earlycon";
45 stdout-path = "serial1:115200n8";
49 device_type = "memory"; /* 4GB */
50 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
54 compatible = "gpio-keys";
58 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
59 linux,code = <BTN_MISC>;
66 compatible = "gpio-leds";
69 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
70 linux,default-trigger = "heartbeat";
75 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
81 compatible = "iio-hwmon";
82 io-channels = <&xilinx_ams 0>, <&xilinx_ams 1>, <&xilinx_ams 2>,
83 <&xilinx_ams 3>, <&xilinx_ams 4>, <&xilinx_ams 5>,
84 <&xilinx_ams 6>, <&xilinx_ams 7>, <&xilinx_ams 8>,
85 <&xilinx_ams 9>, <&xilinx_ams 10>, <&xilinx_ams 11>,
86 <&xilinx_ams 12>, <&xilinx_ams 13>, <&xilinx_ams 14>,
87 <&xilinx_ams 15>, <&xilinx_ams 16>, <&xilinx_ams 17>,
88 <&xilinx_ams 18>, <&xilinx_ams 19>, <&xilinx_ams 20>,
89 <&xilinx_ams 21>, <&xilinx_ams 22>, <&xilinx_ams 23>,
90 <&xilinx_ams 24>, <&xilinx_ams 25>, <&xilinx_ams 26>,
91 <&xilinx_ams 27>, <&xilinx_ams 28>, <&xilinx_ams 29>;
95 compatible = "pwm-fan";
97 pwms = <&ttc0 2 40000 0>;
110 &uart1 { /* MIO36/MIO37 */
116 pinctrl_sdhci0_default: sdhci0-default {
118 groups = "sdio0_0_grp";
119 slew-rate = <SLEW_RATE_SLOW>;
120 power-source = <IO_STANDARD_LVCMOS18>;
125 groups = "sdio0_0_grp";
131 &qspi { /* MIO 0-5 - U143 */
133 flash@0 { /* MT25QU512A */
134 compatible = "mt25qu512a", "jedec,spi-nor"; /* 64MB */
135 #address-cells = <1>;
138 spi-tx-bus-width = <4>;
139 spi-rx-bus-width = <4>;
140 spi-max-frequency = <40000000>; /* 40MHz */
142 label = "Image Selector";
143 reg = <0x0 0x80000>; /* 512KB */
148 label = "Image Selector Golden";
149 reg = <0x80000 0x80000>; /* 512KB */
154 label = "Persistent Register";
155 reg = <0x100000 0x20000>; /* 128KB */
158 label = "Persistent Register Backup";
159 reg = <0x120000 0x20000>; /* 128KB */
163 reg = <0x140000 0xC0000>; /* 768KB */
166 label = "Image A (FSBL, PMU, ATF, U-Boot)";
167 reg = <0x200000 0xD00000>; /* 13MB */
170 label = "ImgSel Image A Catch";
171 reg = <0xF00000 0x80000>; /* 512KB */
176 label = "Image B (FSBL, PMU, ATF, U-Boot)";
177 reg = <0xF80000 0xD00000>; /* 13MB */
180 label = "ImgSel Image B Catch";
181 reg = <0x1C80000 0x80000>; /* 512KB */
187 reg = <0x1D00000 0x100000>; /* 1MB */
190 label = "Recovery Image";
191 reg = <0x1E00000 0x200000>; /* 2MB */
196 label = "Recovery Image Backup";
197 reg = <0x2000000 0x200000>; /* 2MB */
202 label = "U-Boot storage variables";
203 reg = <0x2200000 0x20000>; /* 128KB */
206 label = "U-Boot storage variables backup";
207 reg = <0x2220000 0x20000>; /* 128KB */
211 reg = <0x2240000 0x10000>; /* 256B but 64KB sector */
217 reg = <0x2250000 0x1db0000>; /* 29.5 MB */
222 &sdhci0 { /* MIO13-23 - 16GB emmc MTFC16GAPALBH-IT - U133A */
224 pinctrl-names = "default";
225 pinctrl-0 = <&pinctrl_sdhci0_default>;
230 assigned-clock-rates = <187498123>;
233 &spi1 { /* MIO6, 9-11 */
237 tpm@0 { /* slm9670 - U144 */
238 compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
240 spi-max-frequency = <18500000>;
247 clock-frequency = <400000>;
248 scl-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
249 sda-gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
251 eeprom: eeprom@50 { /* u46 - also at address 0x58 */
253 compatible = "st,24c64", "atmel,24c64"; /* st m24c64 */
255 /* WP pin EE_WP_EN connected to slg7x644092@68 */
258 eeprom_cc: eeprom@51 { /* required by spec - also at address 0x59 */
260 compatible = "st,24c64", "atmel,24c64"; /* st m24c64 */
264 /* da9062@30 - u170 - also at address 0x31 */
265 /* da9131@33 - u167 */
267 compatible = "dlg,da9131";
270 da9131_buck1: buck1 {
271 regulator-name = "da9131_buck1";
275 da9131_buck2: buck2 {
276 regulator-name = "da9131_buck2";
283 /* da9130@32 - u166 */
285 compatible = "dlg,da9130";
288 da9130_buck1: buck1 {
289 regulator-name = "da9130_buck1";
296 /* slg7x644091@70 - u168 NOT accessible due to address conflict with stdp4320 */
298 * stdp4320 - u27 FW has below two issues to be fixed in next board revision.
299 * Device acknowledging to addresses 0x5C, 0x5D, 0x70, 0x72, 0x76.
300 * Address conflict with slg7x644091@70 making both the devices NOT accessible.
301 * With the FW fix, stdp4320 should respond to address 0x73 only.
303 /* slg7x644092@68 - u169 */
304 /* Also connected via JA1C as C23/C24 */
309 gpio-line-names = "QSPI_CLK", "QSPI_DQ1", "QSPI_DQ2", "QSPI_DQ3", "QSPI_DQ0", /* 0 - 4 */
310 "QSPI_CS_B", "SPI_CLK", "LED1", "LED2", "SPI_CS_B", /* 5 - 9 */
311 "SPI_MISO", "SPI_MOSI", "FWUEN", "EMMC_DAT0", "EMMC_DAT1", /* 10 - 14 */
312 "EMMC_DAT2", "EMMC_DAT3", "EMMC_DAT4", "EMMC_DAT5", "EMMC_DAT6", /* 15 - 19 */
313 "EMMC_DAT7", "EMMC_CMD", "EMMC_CLK", "EMMC_RST", "I2C1_SCL", /* 20 - 24 */
314 "I2C1_SDA", "", "", "", "", /* 25 - 29 */
315 "", "", "", "", "", /* 30 - 34 */
316 "", "", "", "", "", /* 35 - 39 */
317 "", "", "", "", "", /* 40 - 44 */
318 "", "", "", "", "", /* 45 - 49 */
319 "", "", "", "", "", /* 50 - 54 */
320 "", "", "", "", "", /* 55 - 59 */
321 "", "", "", "", "", /* 60 - 64 */
322 "", "", "", "", "", /* 65 - 69 */
323 "", "", "", "", "", /* 70 - 74 */
324 "", "", "", /* 75 - 77, MIO end and EMIO start */
325 "", "", /* 78 - 79 */
326 "", "", "", "", "", /* 80 - 84 */
327 "", "", "", "", "", /* 85 - 89 */
328 "", "", "", "", "", /* 90 - 94 */
329 "", "", "", "", "", /* 95 - 99 */
330 "", "", "", "", "", /* 100 - 104 */
331 "", "", "", "", "", /* 105 - 109 */
332 "", "", "", "", "", /* 110 - 114 */
333 "", "", "", "", "", /* 115 - 119 */
334 "", "", "", "", "", /* 120 - 124 */
335 "", "", "", "", "", /* 125 - 129 */
336 "", "", "", "", "", /* 130 - 134 */
337 "", "", "", "", "", /* 135 - 139 */
338 "", "", "", "", "", /* 140 - 144 */
339 "", "", "", "", "", /* 145 - 149 */
340 "", "", "", "", "", /* 150 - 154 */
341 "", "", "", "", "", /* 155 - 159 */
342 "", "", "", "", "", /* 160 - 164 */
343 "", "", "", "", "", /* 165 - 169 */
344 "", "", "", ""; /* 170 - 174 */
445 opp-hz = /bits/ 64 <1333333333>;
448 opp-hz = /bits/ 64 <666666666>;
451 opp-hz = /bits/ 64 <444444444>;
454 opp-hz = /bits/ 64 <333333333>;