1// SPDX-License-Identifier: GPL-2.0+ 2// Copyright (c) 2022 Meta Platforms Inc. 3/dts-v1/; 4 5#include "ast2600-u-boot.dtsi" 6 7/ { 8 model = "Facebook Bletchley BMC"; 9 compatible = "facebook,bletchley-bmc", "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 mmc1 = &sdhci_slot0; 23 mmc2 = &sdhci_slot1; 24 spi0 = &fmc; 25 spi1 = &spi1; 26 spi2 = &spi2; 27 ethernet0 = &mac0; 28 ethernet1 = &mac1; 29 ethernet2 = &mac2; 30 ethernet3 = &mac3; 31 }; 32 33 cpus { 34 cpu@0 { 35 clock-frequency = <800000000>; 36 }; 37 cpu@1 { 38 clock-frequency = <800000000>; 39 }; 40 }; 41}; 42 43&uart5 { 44 u-boot,dm-pre-reloc; 45 status = "okay"; 46}; 47 48&sdrammc { 49 clock-frequency = <400000000>; 50}; 51 52&wdt1 { 53 status = "okay"; 54}; 55 56&wdt2 { 57 status = "okay"; 58}; 59 60&wdt3 { 61 status = "okay"; 62}; 63 64&mdio { 65 status = "okay"; 66 pinctrl-names = "default"; 67 pinctrl-0 = <&pinctrl_mdio4_default>; 68 #address-cells = <1>; 69 #size-cells = <0>; 70}; 71 72&mac2 { 73 status = "okay"; 74 phy-mode = "rgmii"; 75 pinctrl-names = "default"; 76 pinctrl-0 = <&pinctrl_rgmii3_default &pinctrl_mac3link_default>; 77 fixed-link { 78 speed = <1000>; 79 full-duplex; 80 }; 81}; 82 83&fmc { 84 status = "okay"; 85 86 pinctrl-names = "default"; 87 pinctrl-0 = <&pinctrl_fmcquad_default>; 88 89 flash@0 { 90 status = "okay"; 91 spi-max-frequency = <50000000>; 92 spi-tx-bus-width = <2>; 93 spi-rx-bus-width = <2>; 94 }; 95 96 flash@1 { 97 status = "okay"; 98 spi-max-frequency = <50000000>; 99 spi-tx-bus-width = <2>; 100 spi-rx-bus-width = <2>; 101 }; 102 103 flash@2 { 104 status = "okay"; 105 spi-max-frequency = <50000000>; 106 spi-tx-bus-width = <2>; 107 spi-rx-bus-width = <2>; 108 }; 109}; 110 111&spi1 { 112 status = "okay"; 113 114 pinctrl-names = "default"; 115 pinctrl-0 = <&pinctrl_spi1_default &pinctrl_spi1abr_default 116 &pinctrl_spi1cs1_default &pinctrl_spi1wp_default 117 &pinctrl_spi1wp_default &pinctrl_spi1quad_default>; 118 119 flash@0 { 120 status = "okay"; 121 spi-max-frequency = <50000000>; 122 spi-tx-bus-width = <4>; 123 spi-rx-bus-width = <4>; 124 }; 125 126 flash@1 { 127 status = "okay"; 128 spi-max-frequency = <50000000>; 129 spi-tx-bus-width = <4>; 130 spi-rx-bus-width = <4>; 131 }; 132}; 133 134&spi2 { 135 status = "okay"; 136 137 pinctrl-names = "default"; 138 pinctrl-0 = <&pinctrl_spi2_default &pinctrl_spi2cs1_default 139 &pinctrl_spi2cs2_default &pinctrl_spi2quad_default>; 140 141 flash@0 { 142 status = "okay"; 143 spi-max-frequency = <50000000>; 144 spi-tx-bus-width = <4>; 145 spi-rx-bus-width = <4>; 146 }; 147 148 flash@1 { 149 status = "okay"; 150 spi-max-frequency = <50000000>; 151 spi-tx-bus-width = <4>; 152 spi-rx-bus-width = <4>; 153 }; 154 155 flash@2 { 156 status = "okay"; 157 spi-max-frequency = <50000000>; 158 spi-tx-bus-width = <4>; 159 spi-rx-bus-width = <4>; 160 }; 161}; 162 163&i2c4 { 164 status = "okay"; 165 166 pinctrl-names = "default"; 167 pinctrl-0 = <&pinctrl_i2c5_default>; 168}; 169 170&i2c5 { 171 status = "okay"; 172 173 pinctrl-names = "default"; 174 pinctrl-0 = <&pinctrl_i2c6_default>; 175}; 176 177&i2c6 { 178 status = "okay"; 179 180 pinctrl-names = "default"; 181 pinctrl-0 = <&pinctrl_i2c7_default>; 182}; 183 184&i2c7 { 185 status = "okay"; 186 187 pinctrl-names = "default"; 188 pinctrl-0 = <&pinctrl_i2c8_default>; 189}; 190 191&i2c8 { 192 status = "okay"; 193 194 pinctrl-names = "default"; 195 pinctrl-0 = <&pinctrl_i2c9_default>; 196}; 197 198&scu { 199 mac0-clk-delay = <0x10 0x0a 200 0x10 0x10 201 0x10 0x10>; 202 mac1-clk-delay = <0x10 0x0a 203 0x10 0x10 204 0x10 0x10>; 205 mac2-clk-delay = <0x08 0x04 206 0x08 0x04 207 0x08 0x04>; 208 mac3-clk-delay = <0x08 0x04 209 0x08 0x04 210 0x08 0x04>; 211}; 212 213&hace { 214 status = "okay"; 215}; 216