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