1fb79a3bfSChia-Wei, Wang/dts-v1/; 2fb79a3bfSChia-Wei, Wang 3fb79a3bfSChia-Wei, Wang#include "ast2600-u-boot.dtsi" 4fb79a3bfSChia-Wei, Wang 5fb79a3bfSChia-Wei, Wang/ { 6fb79a3bfSChia-Wei, Wang memory { 7fb79a3bfSChia-Wei, Wang device_type = "memory"; 8fb79a3bfSChia-Wei, Wang reg = <0x80000000 0x40000000>; 9fb79a3bfSChia-Wei, Wang }; 10fb79a3bfSChia-Wei, Wang 11fb79a3bfSChia-Wei, Wang chosen { 12fb79a3bfSChia-Wei, Wang stdout-path = &uart5; 13fb79a3bfSChia-Wei, Wang }; 14fb79a3bfSChia-Wei, Wang 15fb79a3bfSChia-Wei, Wang aliases { 160db450caSryan_chen mmc0 = &emmc_slot0; 170db450caSryan_chen mmc1 = &sdhci_slot0; 180db450caSryan_chen mmc2 = &sdhci_slot1; 19fb79a3bfSChia-Wei, Wang spi0 = &fmc; 20fb79a3bfSChia-Wei, Wang spi1 = &spi1; 21fb79a3bfSChia-Wei, Wang spi2 = &spi2; 22e8060417SDylan Hung ethernet0 = &mac0; 23e8060417SDylan Hung ethernet1 = &mac1; 24e8060417SDylan Hung ethernet2 = &mac2; 25e8060417SDylan Hung ethernet3 = &mac3; 26fb79a3bfSChia-Wei, Wang }; 27fb79a3bfSChia-Wei, Wang 28fb79a3bfSChia-Wei, Wang cpus { 29fb79a3bfSChia-Wei, Wang cpu@0 { 30fb79a3bfSChia-Wei, Wang clock-frequency = <800000000>; 31fb79a3bfSChia-Wei, Wang }; 32fb79a3bfSChia-Wei, Wang cpu@1 { 33fb79a3bfSChia-Wei, Wang clock-frequency = <800000000>; 34fb79a3bfSChia-Wei, Wang }; 35fb79a3bfSChia-Wei, Wang }; 36fb79a3bfSChia-Wei, Wang}; 37fb79a3bfSChia-Wei, Wang 38fb79a3bfSChia-Wei, Wang&uart5 { 39fb79a3bfSChia-Wei, Wang u-boot,dm-pre-reloc; 40fb79a3bfSChia-Wei, Wang status = "okay"; 41fb79a3bfSChia-Wei, Wang}; 42fb79a3bfSChia-Wei, Wang 43fb79a3bfSChia-Wei, Wang&sdrammc { 44fb79a3bfSChia-Wei, Wang clock-frequency = <400000000>; 45fb79a3bfSChia-Wei, Wang}; 46fb79a3bfSChia-Wei, Wang 47fb79a3bfSChia-Wei, Wang&wdt1 { 48fb79a3bfSChia-Wei, Wang status = "okay"; 49fb79a3bfSChia-Wei, Wang}; 50fb79a3bfSChia-Wei, Wang 51fb79a3bfSChia-Wei, Wang&wdt2 { 52fb79a3bfSChia-Wei, Wang status = "okay"; 53fb79a3bfSChia-Wei, Wang}; 54fb79a3bfSChia-Wei, Wang 55fb79a3bfSChia-Wei, Wang&wdt3 { 56fb79a3bfSChia-Wei, Wang status = "okay"; 57fb79a3bfSChia-Wei, Wang}; 58fb79a3bfSChia-Wei, Wang 59fb79a3bfSChia-Wei, Wang&mdio { 60fb79a3bfSChia-Wei, Wang status = "okay"; 6143d14b2eSDylan Hung pinctrl-names = "default"; 6243d14b2eSDylan Hung pinctrl-0 = < &pinctrl_mdio1_default &pinctrl_mdio2_default 6343d14b2eSDylan Hung &pinctrl_mdio3_default &pinctrl_mdio4_default>; 64785eb4e9SDylan Hung #address-cells = <1>; 65785eb4e9SDylan Hung #size-cells = <0>; 6643d14b2eSDylan Hung ethphy0: ethernet-phy@0 { 6743d14b2eSDylan Hung reg = <0>; 6843d14b2eSDylan Hung }; 6943d14b2eSDylan Hung 70785eb4e9SDylan Hung ethphy1: ethernet-phy@1 { 71785eb4e9SDylan Hung reg = <0>; 72785eb4e9SDylan Hung }; 73785eb4e9SDylan Hung 74785eb4e9SDylan Hung ethphy2: ethernet-phy@2 { 75785eb4e9SDylan Hung reg = <0>; 76785eb4e9SDylan Hung }; 77785eb4e9SDylan Hung 78785eb4e9SDylan Hung ethphy3: ethernet-phy@3 { 79785eb4e9SDylan Hung reg = <0>; 80785eb4e9SDylan Hung }; 81fb79a3bfSChia-Wei, Wang}; 82fb79a3bfSChia-Wei, Wang 83e8060417SDylan Hung&mac0 { 84fb79a3bfSChia-Wei, Wang status = "okay"; 85fb79a3bfSChia-Wei, Wang phy-mode = "rgmii"; 8643d14b2eSDylan Hung phy-handle = <ðphy0>; 87fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 8843d14b2eSDylan Hung pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mac1link_default>; 89fb79a3bfSChia-Wei, Wang}; 90fb79a3bfSChia-Wei, Wang 91e8060417SDylan Hung&mac1 { 92fb79a3bfSChia-Wei, Wang status = "okay"; 93fb79a3bfSChia-Wei, Wang phy-mode = "rgmii"; 9443d14b2eSDylan Hung phy-handle = <ðphy1>; 95fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 9643d14b2eSDylan Hung pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mac2link_default>; 97fb79a3bfSChia-Wei, Wang}; 98fb79a3bfSChia-Wei, Wang 99e8060417SDylan Hung&mac2 { 100fb79a3bfSChia-Wei, Wang status = "okay"; 101fb79a3bfSChia-Wei, Wang phy-mode = "rgmii"; 10243d14b2eSDylan Hung phy-handle = <ðphy2>; 103fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 10443d14b2eSDylan Hung pinctrl-0 = <&pinctrl_rgmii3_default &pinctrl_mac3link_default>; 1059a1dcf0cSDylan Hung}; 1069a1dcf0cSDylan Hung 107e8060417SDylan Hung&mac3 { 1089a1dcf0cSDylan Hung status = "okay"; 1099a1dcf0cSDylan Hung phy-mode = "rgmii"; 11043d14b2eSDylan Hung phy-handle = <ðphy3>; 1119a1dcf0cSDylan Hung pinctrl-names = "default"; 11243d14b2eSDylan Hung pinctrl-0 = <&pinctrl_rgmii4_default &pinctrl_mac4link_default>; 113fb79a3bfSChia-Wei, Wang}; 114fb79a3bfSChia-Wei, Wang 115fb79a3bfSChia-Wei, Wang&fmc { 116fb79a3bfSChia-Wei, Wang status = "okay"; 1170db450caSryan_chen 118fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 119fb79a3bfSChia-Wei, Wang pinctrl-0 = <&pinctrl_fmcquad_default>; 1200db450caSryan_chen 121fb79a3bfSChia-Wei, Wang flash@0 { 122fb79a3bfSChia-Wei, Wang compatible = "spi-flash", "sst,w25q256"; 123fb79a3bfSChia-Wei, Wang status = "okay"; 124fb79a3bfSChia-Wei, Wang spi-max-frequency = <50000000>; 1250db450caSryan_chen spi-tx-bus-width = <4>; 1260db450caSryan_chen spi-rx-bus-width = <4>; 127fb79a3bfSChia-Wei, Wang }; 128fb79a3bfSChia-Wei, Wang 129fb79a3bfSChia-Wei, Wang flash@1 { 130fb79a3bfSChia-Wei, Wang compatible = "spi-flash", "sst,w25q256"; 131fb79a3bfSChia-Wei, Wang status = "okay"; 132fb79a3bfSChia-Wei, Wang spi-max-frequency = <50000000>; 1330db450caSryan_chen spi-tx-bus-width = <4>; 1340db450caSryan_chen spi-rx-bus-width = <4>; 135fb79a3bfSChia-Wei, Wang }; 136fb79a3bfSChia-Wei, Wang 137fb79a3bfSChia-Wei, Wang flash@2 { 138fb79a3bfSChia-Wei, Wang compatible = "spi-flash", "sst,w25q256"; 139fb79a3bfSChia-Wei, Wang status = "okay"; 140fb79a3bfSChia-Wei, Wang spi-max-frequency = <50000000>; 1410db450caSryan_chen spi-tx-bus-width = <4>; 1420db450caSryan_chen spi-rx-bus-width = <4>; 143fb79a3bfSChia-Wei, Wang }; 144fb79a3bfSChia-Wei, Wang}; 145fb79a3bfSChia-Wei, Wang 146fb79a3bfSChia-Wei, Wang&spi1 { 147fb79a3bfSChia-Wei, Wang status = "okay"; 148fb79a3bfSChia-Wei, Wang 149fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 150fb79a3bfSChia-Wei, Wang pinctrl-0 = <&pinctrl_spi1_default &pinctrl_spi1abr_default 151fb79a3bfSChia-Wei, Wang &pinctrl_spi1cs1_default &pinctrl_spi1wp_default 1520db450caSryan_chen &pinctrl_spi1wp_default &pinctrl_spi1quad_default>; 153fb79a3bfSChia-Wei, Wang 154fb79a3bfSChia-Wei, Wang flash@0 { 155fb79a3bfSChia-Wei, Wang compatible = "spi-flash", "sst,w25q256"; 156fb79a3bfSChia-Wei, Wang status = "okay"; 157fb79a3bfSChia-Wei, Wang spi-max-frequency = <50000000>; 1580db450caSryan_chen spi-tx-bus-width = <4>; 1590db450caSryan_chen spi-rx-bus-width = <4>; 160fb79a3bfSChia-Wei, Wang }; 161fb79a3bfSChia-Wei, Wang 162fb79a3bfSChia-Wei, Wang flash@1 { 163fb79a3bfSChia-Wei, Wang compatible = "spi-flash", "sst,w25q256"; 164fb79a3bfSChia-Wei, Wang status = "okay"; 165fb79a3bfSChia-Wei, Wang spi-max-frequency = <50000000>; 1660db450caSryan_chen spi-tx-bus-width = <4>; 1670db450caSryan_chen spi-rx-bus-width = <4>; 168fb79a3bfSChia-Wei, Wang }; 169fb79a3bfSChia-Wei, Wang}; 170fb79a3bfSChia-Wei, Wang 171fb79a3bfSChia-Wei, Wang&spi2 { 172fb79a3bfSChia-Wei, Wang status = "okay"; 173fb79a3bfSChia-Wei, Wang 174fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 175fb79a3bfSChia-Wei, Wang pinctrl-0 = <&pinctrl_spi2_default &pinctrl_spi2cs1_default 176fb79a3bfSChia-Wei, Wang &pinctrl_spi2cs2_default &pinctrl_spi2quad_default>; 177fb79a3bfSChia-Wei, Wang 178fb79a3bfSChia-Wei, Wang flash@0 { 179fb79a3bfSChia-Wei, Wang compatible = "spi-flash", "sst,w25q256"; 180fb79a3bfSChia-Wei, Wang status = "okay"; 181fb79a3bfSChia-Wei, Wang spi-max-frequency = <50000000>; 1820db450caSryan_chen spi-tx-bus-width = <4>; 1830db450caSryan_chen spi-rx-bus-width = <4>; 184fb79a3bfSChia-Wei, Wang }; 185fb79a3bfSChia-Wei, Wang 186fb79a3bfSChia-Wei, Wang flash@1 { 187fb79a3bfSChia-Wei, Wang compatible = "spi-flash", "sst,w25q256"; 188fb79a3bfSChia-Wei, Wang status = "okay"; 189fb79a3bfSChia-Wei, Wang spi-max-frequency = <50000000>; 1900db450caSryan_chen spi-tx-bus-width = <4>; 1910db450caSryan_chen spi-rx-bus-width = <4>; 192fb79a3bfSChia-Wei, Wang }; 193fb79a3bfSChia-Wei, Wang 194fb79a3bfSChia-Wei, Wang flash@2 { 195fb79a3bfSChia-Wei, Wang compatible = "spi-flash", "sst,w25q256"; 196fb79a3bfSChia-Wei, Wang status = "okay"; 197fb79a3bfSChia-Wei, Wang spi-max-frequency = <50000000>; 1980db450caSryan_chen spi-tx-bus-width = <4>; 1990db450caSryan_chen spi-rx-bus-width = <4>; 200fb79a3bfSChia-Wei, Wang }; 201fb79a3bfSChia-Wei, Wang}; 202fb79a3bfSChia-Wei, Wang 203fd8a4410SChin-Ting Kuo&emmc { 204fd8a4410SChin-Ting Kuo u-boot,dm-pre-reloc; 205730fd353SChin-Ting Kuo timing-phase = <0x700ff>; 206fd8a4410SChin-Ting Kuo}; 207fd8a4410SChin-Ting Kuo 208fb79a3bfSChia-Wei, Wang&emmc_slot0 { 209fd8a4410SChin-Ting Kuo u-boot,dm-pre-reloc; 210fb79a3bfSChia-Wei, Wang status = "okay"; 211fb79a3bfSChia-Wei, Wang bus-width = <4>; 212fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 213fb79a3bfSChia-Wei, Wang pinctrl-0 = <&pinctrl_emmc_default>; 214730fd353SChin-Ting Kuo sdhci-drive-type = <1>; 215730fd353SChin-Ting Kuo}; 216730fd353SChin-Ting Kuo 217730fd353SChin-Ting Kuo&sdhci { 218730fd353SChin-Ting Kuo timing-phase = <0xc6ffff>; 219fb79a3bfSChia-Wei, Wang}; 220fb79a3bfSChia-Wei, Wang 221fb79a3bfSChia-Wei, Wang&sdhci_slot0 { 222fb79a3bfSChia-Wei, Wang status = "okay"; 223fb79a3bfSChia-Wei, Wang bus-width = <4>; 224fb79a3bfSChia-Wei, Wang pwr-gpios = <&gpio0 ASPEED_GPIO(V, 0) GPIO_ACTIVE_HIGH>; 225fb79a3bfSChia-Wei, Wang pwr-sw-gpios = <&gpio0 ASPEED_GPIO(V, 1) GPIO_ACTIVE_HIGH>; 226fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 227fb79a3bfSChia-Wei, Wang pinctrl-0 = <&pinctrl_sd1_default>; 228730fd353SChin-Ting Kuo sdhci-drive-type = <1>; 229fb79a3bfSChia-Wei, Wang}; 230fb79a3bfSChia-Wei, Wang 231fb79a3bfSChia-Wei, Wang&sdhci_slot1 { 232fb79a3bfSChia-Wei, Wang status = "okay"; 233fb79a3bfSChia-Wei, Wang bus-width = <4>; 234fb79a3bfSChia-Wei, Wang pwr-gpios = <&gpio0 ASPEED_GPIO(V, 2) GPIO_ACTIVE_HIGH>; 235fb79a3bfSChia-Wei, Wang pwr-sw-gpios = <&gpio0 ASPEED_GPIO(V, 3) GPIO_ACTIVE_HIGH>; 236fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 237fb79a3bfSChia-Wei, Wang pinctrl-0 = <&pinctrl_sd2_default>; 238730fd353SChin-Ting Kuo sdhci-drive-type = <1>; 239fb79a3bfSChia-Wei, Wang}; 240fb79a3bfSChia-Wei, Wang 241fb79a3bfSChia-Wei, Wang&i2c4 { 242fb79a3bfSChia-Wei, Wang status = "okay"; 243fb79a3bfSChia-Wei, Wang 244fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 245fb79a3bfSChia-Wei, Wang pinctrl-0 = <&pinctrl_i2c5_default>; 246fb79a3bfSChia-Wei, Wang}; 247fb79a3bfSChia-Wei, Wang 248fb79a3bfSChia-Wei, Wang&i2c5 { 249fb79a3bfSChia-Wei, Wang status = "okay"; 250fb79a3bfSChia-Wei, Wang 251fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 252fb79a3bfSChia-Wei, Wang pinctrl-0 = <&pinctrl_i2c6_default>; 253fb79a3bfSChia-Wei, Wang}; 254fb79a3bfSChia-Wei, Wang 255fb79a3bfSChia-Wei, Wang&i2c6 { 256fb79a3bfSChia-Wei, Wang status = "okay"; 257fb79a3bfSChia-Wei, Wang 258fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 259fb79a3bfSChia-Wei, Wang pinctrl-0 = <&pinctrl_i2c7_default>; 260fb79a3bfSChia-Wei, Wang}; 261fb79a3bfSChia-Wei, Wang 262fb79a3bfSChia-Wei, Wang&i2c7 { 263fb79a3bfSChia-Wei, Wang status = "okay"; 264fb79a3bfSChia-Wei, Wang 265fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 266fb79a3bfSChia-Wei, Wang pinctrl-0 = <&pinctrl_i2c8_default>; 267fb79a3bfSChia-Wei, Wang}; 268fb79a3bfSChia-Wei, Wang 269fb79a3bfSChia-Wei, Wang&i2c8 { 270fb79a3bfSChia-Wei, Wang status = "okay"; 271fb79a3bfSChia-Wei, Wang 272fb79a3bfSChia-Wei, Wang pinctrl-names = "default"; 273fb79a3bfSChia-Wei, Wang pinctrl-0 = <&pinctrl_i2c9_default>; 274fb79a3bfSChia-Wei, Wang}; 275fb79a3bfSChia-Wei, Wang 276fb79a3bfSChia-Wei, Wang&pcie_bridge1 { 277fb79a3bfSChia-Wei, Wang status = "okay"; 278fb79a3bfSChia-Wei, Wang}; 279fb79a3bfSChia-Wei, Wang 280fb79a3bfSChia-Wei, Wang&h2x { 281fb79a3bfSChia-Wei, Wang status = "okay"; 282fb79a3bfSChia-Wei, Wang}; 283fb79a3bfSChia-Wei, Wang 284fb79a3bfSChia-Wei, Wang#if 0 285fb79a3bfSChia-Wei, Wang&fsim0 { 286fb79a3bfSChia-Wei, Wang status = "okay"; 287fb79a3bfSChia-Wei, Wang}; 288fb79a3bfSChia-Wei, Wang 289fb79a3bfSChia-Wei, Wang&fsim1 { 290fb79a3bfSChia-Wei, Wang status = "okay"; 291fb79a3bfSChia-Wei, Wang}; 292fb79a3bfSChia-Wei, Wang#endif 2930db450caSryan_chen 2940db450caSryan_chen&ehci1 { 2950db450caSryan_chen status = "okay"; 2960db450caSryan_chen}; 297*9450faf4Sryan_chen 298*9450faf4Sryan_chen&display_port { 299*9450faf4Sryan_chen status = "okay"; 300*9450faf4Sryan_chen}; 301