1// SPDX-License-Identifier: GPL-2.0+ 2 3/dts-v1/; 4 5#include "ast2600-u-boot.dtsi" 6 7/ { 8 memory { 9 device_type = "memory"; 10 reg = <0x80000000 0x40000000>; 11 }; 12 13 chosen { 14 stdout-path = &uart5; 15 }; 16 17 aliases { 18 mmc0 = &emmc_slot0; 19 mmc1 = &sdhci_slot0; 20 mmc2 = &sdhci_slot1; 21 spi0 = &fmc; 22 spi1 = &spi1; 23 spi2 = &spi2; 24 ethernet0 = &mac0; 25 ethernet1 = &mac1; 26 ethernet2 = &mac2; 27 ethernet3 = &mac3; 28 }; 29 30 cpus { 31 cpu@0 { 32 clock-frequency = <800000000>; 33 }; 34 cpu@1 { 35 clock-frequency = <800000000>; 36 }; 37 }; 38}; 39 40&uart5 { 41 u-boot,dm-pre-reloc; 42 status = "okay"; 43}; 44 45&sdrammc { 46 clock-frequency = <400000000>; 47}; 48 49&wdt1 { 50 status = "okay"; 51}; 52 53&fmc { 54 status = "okay"; 55 56 pinctrl-names = "default"; 57 pinctrl-0 = <&pinctrl_fmcquad_default>; 58 59 flash@0 { 60 compatible = "spi-flash", "sst,w25q256"; 61 status = "okay"; 62 spi-max-frequency = <50000000>; 63 spi-tx-bus-width = <4>; 64 spi-rx-bus-width = <4>; 65 }; 66 67 flash@1 { 68 compatible = "spi-flash", "sst,w25q256"; 69 status = "okay"; 70 spi-max-frequency = <50000000>; 71 spi-tx-bus-width = <4>; 72 spi-rx-bus-width = <4>; 73 }; 74 75 flash@2 { 76 compatible = "spi-flash", "sst,w25q256"; 77 status = "okay"; 78 spi-max-frequency = <50000000>; 79 spi-tx-bus-width = <4>; 80 spi-rx-bus-width = <4>; 81 }; 82}; 83 84&spi1 { 85 status = "okay"; 86 87 pinctrl-names = "default"; 88 pinctrl-0 = <&pinctrl_spi1_default &pinctrl_spi1abr_default 89 &pinctrl_spi1cs1_default &pinctrl_spi1wp_default 90 &pinctrl_spi1wp_default &pinctrl_spi1quad_default>; 91 92 flash@0 { 93 compatible = "spi-flash", "sst,w25q256"; 94 status = "okay"; 95 spi-max-frequency = <50000000>; 96 spi-tx-bus-width = <4>; 97 spi-rx-bus-width = <4>; 98 }; 99}; 100 101&spi2 { 102 status = "okay"; 103 104 pinctrl-names = "default"; 105 pinctrl-0 = <&pinctrl_spi2_default &pinctrl_spi2cs1_default 106 &pinctrl_spi2cs2_default &pinctrl_spi2quad_default>; 107 108 flash@0 { 109 compatible = "spi-flash", "sst,w25q256"; 110 status = "okay"; 111 spi-max-frequency = <50000000>; 112 spi-tx-bus-width = <4>; 113 spi-rx-bus-width = <4>; 114 }; 115}; 116 117&emmc { 118 u-boot,dm-pre-reloc; 119 timing-phase = <0x700ff>; 120}; 121 122&emmc_slot0 { 123 u-boot,dm-pre-reloc; 124 status = "okay"; 125 bus-width = <4>; 126 pinctrl-names = "default"; 127 pinctrl-0 = <&pinctrl_emmc_default>; 128 sdhci-drive-type = <1>; 129}; 130 131&i2c4 { 132 status = "okay"; 133 134 pinctrl-names = "default"; 135 pinctrl-0 = <&pinctrl_i2c5_default>; 136}; 137 138&i2c5 { 139 status = "okay"; 140 141 pinctrl-names = "default"; 142 pinctrl-0 = <&pinctrl_i2c6_default>; 143}; 144 145&i2c6 { 146 status = "okay"; 147 148 pinctrl-names = "default"; 149 pinctrl-0 = <&pinctrl_i2c7_default>; 150}; 151 152&i2c7 { 153 status = "okay"; 154 155 pinctrl-names = "default"; 156 pinctrl-0 = <&pinctrl_i2c8_default>; 157}; 158 159&i2c8 { 160 status = "okay"; 161 162 pinctrl-names = "default"; 163 pinctrl-0 = <&pinctrl_i2c9_default>; 164}; 165 166&scu { 167 mac0-clk-delay = <0x1d 0x1c 168 0x10 0x17 169 0x10 0x17>; 170 mac1-clk-delay = <0x1d 0x10 171 0x10 0x10 172 0x10 0x10>; 173 mac2-clk-delay = <0x0a 0x04 174 0x08 0x04 175 0x08 0x04>; 176 mac3-clk-delay = <0x0a 0x04 177 0x08 0x04 178 0x08 0x04>; 179}; 180