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 model = "IBM P10 BMC"; 9 compatible = "ibm,everest-bmc", "ibm,rainier-bmc", "ibm,p10bmc", "aspeed,ast2600"; 10 11 memory { 12 device_type = "memory"; 13 reg = <0x80000000 0x40000000>; 14 }; 15 16 chosen { 17 stdout-path = &uart5; 18 }; 19 20 aliases { 21 mmc0 = &emmc_slot0; 22 spi0 = &fmc; 23 spi1 = &spi1; 24 }; 25 26 cpus { 27 cpu@0 { 28 // TODO: is this required? 29 clock-frequency = <800000000>; 30 }; 31 cpu@1 { 32 clock-frequency = <800000000>; 33 }; 34 }; 35}; 36 37&uart5 { 38 u-boot,dm-pre-reloc; 39 status = "okay"; 40}; 41 42&sdrammc { 43 clock-frequency = <400000000>; 44 aspeed,ecc-enabled; 45}; 46 47&wdt2 { 48 u-boot,dm-pre-reloc; 49 status = "okay"; 50}; 51 52&mac2 { 53 status = "okay"; 54 55 phy-mode = "NC-SI"; 56 use-ncsi; 57 pinctrl-names = "default"; 58 pinctrl-0 = <&pinctrl_rmii3_default &pinctrl_rmii3rclk_default>; 59}; 60 61&mac3 { 62 status = "okay"; 63 64 phy-mode = "NC-SI"; 65 use-ncsi; 66 pinctrl-names = "default"; 67 pinctrl-0 = <&pinctrl_rmii4_default &pinctrl_rmii4rclk_default>; 68}; 69 70&fmc { 71 status = "okay"; 72 73 pinctrl-names = "default"; 74 pinctrl-0 = <&pinctrl_fmcquad_default>; 75 76 flash@0 { 77 // TODO: what compatible strings should be here? 78 status = "okay"; 79 spi-max-frequency = <50000000>; 80 spi-tx-bus-width = <2>; 81 spi-rx-bus-width = <2>; 82 }; 83 84 flash@1 { 85 status = "okay"; 86 spi-max-frequency = <50000000>; 87 spi-tx-bus-width = <2>; 88 spi-rx-bus-width = <2>; 89 }; 90}; 91 92&emmc { 93 u-boot,dm-pre-reloc; 94 timing-phase = <0x700ff>; 95}; 96 97&emmc_slot0 { 98 u-boot,dm-pre-reloc; 99 status = "okay"; 100 bus-width = <4>; 101 pinctrl-names = "default"; 102 pinctrl-0 = <&pinctrl_emmc_default>; 103 sdhci-drive-type = <1>; 104}; 105 106&gpio0 { 107 u-boot,dm-pre-reloc; 108}; 109 110&i2c12 { 111 status = "okay"; 112 113 tpm@2e { 114 compatible = "nuvoton,npct75x"; 115 reg = <0x2e>; 116 }; 117}; 118 119&hace { 120 u-boot,dm-pre-reloc; 121 status = "okay"; 122}; 123 124&acry { 125 u-boot,dm-pre-reloc; 126 status = "okay"; 127}; 128