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 Greatlakes BMC"; 9 compatible = "facebook,greatlakes-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 spi0 = &fmc; 22 ethernet3 = &mac3; 23 }; 24 25 cpus { 26 cpu@0 { 27 clock-frequency = <800000000>; 28 }; 29 cpu@1 { 30 clock-frequency = <800000000>; 31 }; 32 }; 33}; 34 35&uart5 { 36 u-boot,dm-pre-reloc; 37 status = "okay"; 38}; 39 40&sdrammc { 41 clock-frequency = <400000000>; 42}; 43 44&wdt1 { 45 status = "okay"; 46}; 47 48&wdt2 { 49 status = "okay"; 50}; 51 52&wdt3 { 53 status = "okay"; 54}; 55 56&mdio { 57 status = "okay"; 58 pinctrl-names = "default"; 59 pinctrl-0 = <&pinctrl_mdio4_default>; 60 #address-cells = <1>; 61 #size-cells = <0>; 62 ethphy3: ethernet-phy@3 { 63 reg = <0>; 64 }; 65}; 66 67&mac3 { 68 status = "okay"; 69 phy-mode = "rgmii"; 70 phy-handle = <ðphy3>; 71 pinctrl-names = "default"; 72 pinctrl-0 = <&pinctrl_rgmii4_default>; 73}; 74 75&fmc { 76 status = "okay"; 77 78 pinctrl-names = "default"; 79 pinctrl-0 = <&pinctrl_fmcquad_default>; 80 81 flash@0 { 82 status = "okay"; 83 spi-max-frequency = <50000000>; 84 spi-tx-bus-width = <4>; 85 spi-rx-bus-width = <4>; 86 }; 87 88 flash@1 { 89 status = "okay"; 90 spi-max-frequency = <50000000>; 91 spi-tx-bus-width = <4>; 92 spi-rx-bus-width = <4>; 93 }; 94}; 95 96&gpio0 { 97 status = "okay"; 98 line_148 { 99 gpio-hog; 100 gpios = <148 GPIO_ACTIVE_HIGH>; 101 output-high; 102 line-name = "bmc-slot1-isolated-enabled"; 103 }; 104 line_149 { 105 gpio-hog; 106 gpios = <149 GPIO_ACTIVE_HIGH>; 107 output-high; 108 line-name = "bmc-slot2-isolated-enabled"; 109 }; 110 line_150 { 111 gpio-hog; 112 gpios = <150 GPIO_ACTIVE_HIGH>; 113 output-high; 114 line-name = "bmc-slot3-isolated-enabled"; 115 }; 116 line_151 { 117 gpio-hog; 118 gpios = <151 GPIO_ACTIVE_HIGH>; 119 output-high; 120 line-name = "bmc-slot4-isolated-enabled"; 121 }; 122}; 123 124&i2c0 { 125 status = "okay"; 126 127 pinctrl-names = "default"; 128 pinctrl-0 = <&pinctrl_i2c1_default>; 129}; 130 131&i2c1 { 132 status = "okay"; 133 134 pinctrl-names = "default"; 135 pinctrl-0 = <&pinctrl_i2c2_default>; 136}; 137 138&i2c2 { 139 status = "okay"; 140 141 pinctrl-names = "default"; 142 pinctrl-0 = <&pinctrl_i2c3_default>; 143}; 144 145&i2c3 { 146 status = "okay"; 147 148 pinctrl-names = "default"; 149 pinctrl-0 = <&pinctrl_i2c4_default>; 150}; 151 152&i2c4 { 153 status = "okay"; 154 155 pinctrl-names = "default"; 156 pinctrl-0 = <&pinctrl_i2c5_default>; 157}; 158 159&i2c5 { 160 status = "okay"; 161 162 pinctrl-names = "default"; 163 pinctrl-0 = <&pinctrl_i2c6_default>; 164}; 165 166&i2c6 { 167 status = "okay"; 168 169 pinctrl-names = "default"; 170 pinctrl-0 = <&pinctrl_i2c7_default>; 171}; 172 173&i2c7 { 174 status = "okay"; 175 176 pinctrl-names = "default"; 177 pinctrl-0 = <&pinctrl_i2c8_default>; 178}; 179 180&i2c8 { 181 status = "okay"; 182 183 pinctrl-names = "default"; 184 pinctrl-0 = <&pinctrl_i2c9_default>; 185}; 186 187&scu { 188 mac0-clk-delay = <0x10 0x0a 189 0x10 0x10 190 0x10 0x10>; 191 mac1-clk-delay = <0x10 0x0a 192 0x10 0x10 193 0x10 0x10>; 194 mac2-clk-delay = <0x08 0x04 195 0x08 0x04 196 0x08 0x04>; 197 mac3-clk-delay = <0x08 0x04 198 0x08 0x04 199 0x08 0x04>; 200}; 201 202&hace { 203 u-boot,dm-pre-reloc; 204 status = "okay"; 205}; 206