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