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; 19 mmc1 = &sdhci0; 20 mmc2 = &sdhci1; 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&pwm { 41 status = "okay"; 42 pinctrl-names = "default"; 43 pinctrl-0 = <&pinctrl_pwm0_default 44 &pinctrl_pwm1_default 45 &pinctrl_pwm2_default 46 &pinctrl_pwm3_default 47 &pinctrl_pwm4_default 48 &pinctrl_pwm5_default 49 &pinctrl_pwm6_default 50 &pinctrl_pwm7_default 51 &pinctrl_pwm8g1_default 52 &pinctrl_pwm9g1_default 53 &pinctrl_pwm10g1_default 54 &pinctrl_pwm11g1_default 55 &pinctrl_pwm12g1_default 56 &pinctrl_pwm13g1_default 57 &pinctrl_pwm14g1_default>; 58}; 59 60&uart5 { 61 bootph-all; 62 status = "okay"; 63}; 64 65&sdrammc { 66 clock-frequency = <400000000>; 67}; 68 69&wdt1 { 70 status = "okay"; 71}; 72 73&fmc { 74 status = "okay"; 75 pinctrl-names = "default"; 76 pinctrl-0 = <&pinctrl_fmcquad_default>; 77 78 flash@0 { 79 status = "okay"; 80 spi-max-frequency = <50000000>; 81 spi-tx-bus-width = <4>; 82 spi-rx-bus-width = <4>; 83 }; 84 85 flash@1 { 86 status = "okay"; 87 spi-max-frequency = <50000000>; 88 spi-tx-bus-width = <4>; 89 spi-rx-bus-width = <4>; 90 }; 91 92 flash@2 { 93 status = "okay"; 94 spi-max-frequency = <50000000>; 95 spi-tx-bus-width = <4>; 96 spi-rx-bus-width = <4>; 97 }; 98}; 99 100&spi1 { 101 status = "okay"; 102 pinctrl-names = "default"; 103 pinctrl-0 = <&pinctrl_spi1_default &pinctrl_spi1abr_default 104 &pinctrl_spi1cs1_default &pinctrl_spi1wp_default 105 &pinctrl_spi1wp_default &pinctrl_spi1quad_default>; 106 107 flash@0 { 108 status = "okay"; 109 spi-max-frequency = <50000000>; 110 spi-tx-bus-width = <4>; 111 spi-rx-bus-width = <4>; 112 }; 113}; 114 115&spi2 { 116 status = "okay"; 117 pinctrl-names = "default"; 118 pinctrl-0 = <&pinctrl_spi2_default &pinctrl_spi2cs1_default 119 &pinctrl_spi2cs2_default &pinctrl_spi2quad_default>; 120 121 flash@0 { 122 status = "okay"; 123 spi-max-frequency = <50000000>; 124 spi-tx-bus-width = <4>; 125 spi-rx-bus-width = <4>; 126 }; 127}; 128 129 130&emmc_controller { 131 status = "okay"; 132}; 133 134&emmc { 135 non-removable; 136 bus-width = <4>; 137 max-frequency = <100000000>; 138 clk-phase-mmc-hs200 = <9>, <225>; 139}; 140 141&i2c4 { 142 status = "okay"; 143}; 144 145&i2c5 { 146 status = "okay"; 147}; 148 149&i2c6 { 150 status = "okay"; 151}; 152 153&i2c7 { 154 status = "okay"; 155 156 temp@2e { 157 compatible = "adi,adt7490"; 158 reg = <0x2e>; 159 }; 160 161 eeprom@50 { 162 compatible = "atmel,24c08"; 163 reg = <0x50>; 164 pagesize = <16>; 165 }; 166}; 167 168&i2c8 { 169 status = "okay"; 170 171 lm75@4d { 172 compatible = "national,lm75"; 173 reg = <0x4d>; 174 }; 175}; 176 177&mdio0 { 178 status = "okay"; 179 #address-cells = <1>; 180 #size-cells = <0>; 181 ethphy0: ethernet-phy@0 { 182 reg = <0>; 183 }; 184}; 185 186&mdio1 { 187 status = "okay"; 188 #address-cells = <1>; 189 #size-cells = <0>; 190 ethphy1: ethernet-phy@0 { 191 reg = <0>; 192 }; 193}; 194 195&mdio2 { 196 status = "okay"; 197 #address-cells = <1>; 198 #size-cells = <0>; 199 ethphy2: ethernet-phy@0 { 200 reg = <0>; 201 }; 202}; 203 204&mdio3 { 205 status = "okay"; 206 #address-cells = <1>; 207 #size-cells = <0>; 208 ethphy3: ethernet-phy@0 { 209 reg = <0>; 210 }; 211}; 212 213&mac0 { 214 status = "okay"; 215 phy-mode = "rgmii-rxid"; 216 phy-handle = <ðphy0>; 217 pinctrl-names = "default"; 218 pinctrl-0 = <&pinctrl_rgmii1_default>; 219}; 220 221&mac1 { 222 status = "okay"; 223 phy-mode = "rgmii-rxid"; 224 phy-handle = <ðphy1>; 225 pinctrl-names = "default"; 226 pinctrl-0 = <&pinctrl_rgmii2_default>; 227}; 228 229&mac2 { 230 status = "okay"; 231 phy-mode = "rgmii"; 232 phy-handle = <ðphy2>; 233 pinctrl-names = "default"; 234 pinctrl-0 = <&pinctrl_rgmii3_default>; 235}; 236 237&mac3 { 238 status = "okay"; 239 phy-mode = "rgmii"; 240 phy-handle = <ðphy3>; 241 pinctrl-names = "default"; 242 pinctrl-0 = <&pinctrl_rgmii4_default>; 243}; 244 245&scu { 246 mac0-clk-delay = <0x1d 0x1c 247 0x10 0x17 248 0x10 0x17>; 249 mac1-clk-delay = <0x1d 0x10 250 0x10 0x10 251 0x10 0x10>; 252 mac2-clk-delay = <0x0a 0x04 253 0x08 0x04 254 0x08 0x04>; 255 mac3-clk-delay = <0x0a 0x04 256 0x08 0x04 257 0x08 0x04>; 258}; 259 260&hace { 261 bootph-all; 262 status = "okay"; 263}; 264 265&acry { 266 bootph-all; 267 status = "okay"; 268}; 269 270&sgpiom0 { 271 status = "okay"; 272 ngpios = <128>; 273}; 274 275&sgpiom1 { 276 status = "okay"; 277 ngpios = <80>; 278}; 279