xref: /openbmc/u-boot/arch/arm/dts/ast2400-evb.dts (revision b4919f0456b93c3f81cfd6586a5b8d2a8f6819ce)
10ee6ac0dSryan_chen/dts-v1/;
20ee6ac0dSryan_chen
30ee6ac0dSryan_chen#include "ast2400-u-boot.dtsi"
40ee6ac0dSryan_chen
50ee6ac0dSryan_chen/ {
6*ba6ce662SJoel Stanley	model = "AST2400 EVB";
7*ba6ce662SJoel Stanley	compatible = "aspeed,ast2400-evb", "aspeed,ast2400";
8*ba6ce662SJoel Stanley
90ee6ac0dSryan_chen	memory {
100ee6ac0dSryan_chen		device_type = "memory";
110ee6ac0dSryan_chen		reg = <0x40000000 0x10000000>;
120ee6ac0dSryan_chen	};
130ee6ac0dSryan_chen
140ee6ac0dSryan_chen	chosen {
150ee6ac0dSryan_chen		stdout-path = &uart5;
160ee6ac0dSryan_chen	};
170ee6ac0dSryan_chen
180ee6ac0dSryan_chen	aliases {
190ee6ac0dSryan_chen		spi0 = &fmc;
200ee6ac0dSryan_chen		spi1 = &spi1;
210ee6ac0dSryan_chen		ethernet0 = &mac0;
220ee6ac0dSryan_chen		ethernet1 = &mac1;
230ee6ac0dSryan_chen	};
240ee6ac0dSryan_chen};
250ee6ac0dSryan_chen
260ee6ac0dSryan_chen&uart5 {
270ee6ac0dSryan_chen	u-boot,dm-pre-reloc;
280ee6ac0dSryan_chen	status = "okay";
290ee6ac0dSryan_chen};
300ee6ac0dSryan_chen
310ee6ac0dSryan_chen&sdrammc {
320ee6ac0dSryan_chen	clock-frequency = <200000000>;
330ee6ac0dSryan_chen};
340ee6ac0dSryan_chen
350ee6ac0dSryan_chen&wdt1 {
360ee6ac0dSryan_chen	u-boot,dm-pre-reloc;
370ee6ac0dSryan_chen	status = "okay";
380ee6ac0dSryan_chen};
390ee6ac0dSryan_chen
400ee6ac0dSryan_chen&wdt2 {
410ee6ac0dSryan_chen	u-boot,dm-pre-reloc;
420ee6ac0dSryan_chen	status = "okay";
430ee6ac0dSryan_chen};
440ee6ac0dSryan_chen
450ee6ac0dSryan_chen&mac0 {
460ee6ac0dSryan_chen	status = "okay";
470ee6ac0dSryan_chen	phy-mode = "rgmii";
480ee6ac0dSryan_chen
490ee6ac0dSryan_chen	pinctrl-names = "default";
500ee6ac0dSryan_chen	pinctrl-0 = <&pinctrl_mac1link_default &pinctrl_mdio1_default>;
510ee6ac0dSryan_chen};
520ee6ac0dSryan_chen
530ee6ac0dSryan_chen&mac1 {
540ee6ac0dSryan_chen	status = "okay";
550ee6ac0dSryan_chen	phy-mode = "rgmii";
560ee6ac0dSryan_chen	pinctrl-names = "default";
570ee6ac0dSryan_chen	pinctrl-0 = <&pinctrl_mac2link_default &pinctrl_mdio2_default>;
580ee6ac0dSryan_chen};
590ee6ac0dSryan_chen
600ee6ac0dSryan_chen&fmc {
610ee6ac0dSryan_chen	status = "okay";
620ee6ac0dSryan_chen	flash@0 {
630ee6ac0dSryan_chen		status = "okay";
640ee6ac0dSryan_chen		spi-max-frequency = <50000000>;
650ee6ac0dSryan_chen		spi-tx-bus-width = <2>;
660ee6ac0dSryan_chen		spi-rx-bus-width = <2>;
670ee6ac0dSryan_chen	};
680ee6ac0dSryan_chen
690ee6ac0dSryan_chen	flash@1 {
700ee6ac0dSryan_chen                status = "okay";
710ee6ac0dSryan_chen                spi-max-frequency = <50000000>;
720ee6ac0dSryan_chen                spi-tx-bus-width = <2>;
730ee6ac0dSryan_chen                spi-rx-bus-width = <2>;
740ee6ac0dSryan_chen        };
750ee6ac0dSryan_chen};
760ee6ac0dSryan_chen
770ee6ac0dSryan_chen&spi1 {
780ee6ac0dSryan_chen	status = "okay";
790ee6ac0dSryan_chen	flash@0 {
800ee6ac0dSryan_chen		pinctrl-names = "default";
810ee6ac0dSryan_chen		pinctrl-0 = <&pinctrl_spi1_default>;
820ee6ac0dSryan_chen		status = "okay";
830ee6ac0dSryan_chen		spi-max-frequency = <50000000>;
840ee6ac0dSryan_chen		spi-tx-bus-width = <2>;
850ee6ac0dSryan_chen		spi-rx-bus-width = <2>;
860ee6ac0dSryan_chen	};
870ee6ac0dSryan_chen	flash@1 {
880ee6ac0dSryan_chen		pinctrl-names = "default";
890ee6ac0dSryan_chen		pinctrl-0 = <&pinctrl_spi1_default &pinctrl_spi1cs1_default>;
900ee6ac0dSryan_chen		status = "okay";
910ee6ac0dSryan_chen		spi-max-frequency = <50000000>;
920ee6ac0dSryan_chen		spi-tx-bus-width = <2>;
930ee6ac0dSryan_chen		spi-rx-bus-width = <2>;
940ee6ac0dSryan_chen	};
950ee6ac0dSryan_chen};
960ee6ac0dSryan_chen
97