1// SPDX-License-Identifier: GPL-2.0+ 2// Copyright 2020 IBM Corp. 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 spi0 = &fmc; 19 spi1 = &spi1; 20 }; 21 22 cpus { 23 cpu@0 { 24 // TODO: is this required? 25 clock-frequency = <800000000>; 26 }; 27 cpu@1 { 28 clock-frequency = <800000000>; 29 }; 30 }; 31}; 32 33&uart5 { 34 u-boot,dm-pre-reloc; 35 status = "okay"; 36}; 37 38&sdrammc { 39 clock-frequency = <400000000>; 40}; 41 42&wdt2 { 43 u-boot,dm-pre-reloc; 44 status = "okay"; 45}; 46 47&mac2 { 48 status = "okay"; 49 50 phy-mode = "NC-SI"; 51 use-ncsi; 52 pinctrl-names = "default"; 53 pinctrl-0 = <&pinctrl_rmii3_default &pinctrl_rmii3rclk_default>; 54}; 55 56&fmc { 57 status = "okay"; 58 59 pinctrl-names = "default"; 60 pinctrl-0 = <&pinctrl_fmcquad_default>; 61 62 flash@0 { 63 // TODO: what compatible strings should be here? 64 compatible = "spi-flash", "sst,w25q256"; 65 status = "okay"; 66 spi-max-frequency = <50000000>; 67 spi-tx-bus-width = <2>; 68 spi-rx-bus-width = <2>; 69 }; 70 71 flash@1 { 72 compatible = "spi-flash", "sst,w25q256"; 73 status = "okay"; 74 spi-max-frequency = <50000000>; 75 spi-tx-bus-width = <2>; 76 spi-rx-bus-width = <2>; 77 }; 78}; 79 80&emmc_slot0 { 81 status = "okay"; 82 bus-width = <4>; 83 pinctrl-names = "default"; 84 pinctrl-0 = <&pinctrl_emmc_default>; 85}; 86