| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | // Copyright (c) 2018 Facebook Inc. |
| 3 | /dts-v1/; |
| 4 | |
| 5 | #include "aspeed-g5.dtsi" |
| 6 | |
| 7 | / { |
| 8 | model = "Facebook YAMP 100 BMC"; |
| 9 | compatible = "facebook,yamp-bmc", "aspeed,ast2500"; |
| 10 | |
| 11 | aliases { |
| 12 | /* |
| 13 | * Override the default uart aliases to avoid breaking |
| 14 | * the legacy applications. |
| 15 | */ |
| 16 | serial0 = &uart5; |
| 17 | serial1 = &uart1; |
| 18 | serial2 = &uart2; |
| 19 | serial3 = &uart3; |
| 20 | }; |
| 21 | |
| 22 | chosen { |
| 23 | stdout-path = &uart5; |
| 24 | bootargs = "console=ttyS0,9600n8 root=/dev/ram rw"; |
| 25 | }; |
| 26 | |
| 27 | memory@80000000 { |
| 28 | reg = <0x80000000 0x20000000>; |
| 29 | }; |
| 30 | }; |
| 31 | |
| 32 | &pinctrl { |
| 33 | aspeed,external-nodes = <&gfx &lhc>; |
| 34 | }; |
| 35 | |
| 36 | /* |
| 37 | * Update reset type to "system" (full chip) to fix warm reboot hang issue |
| 38 | * when reset type is set to default ("soc", gated by reset mask registers). |
| 39 | */ |
| 40 | &wdt1 { |
| 41 | status = "okay"; |
| 42 | aspeed,reset-type = "system"; |
| 43 | }; |
| 44 | |
| 45 | /* |
| 46 | * wdt2 is not used by Yamp. |
| 47 | */ |
| 48 | &wdt2 { |
| 49 | status = "disabled"; |
| 50 | }; |
| 51 | |
| 52 | &fmc { |
| 53 | status = "okay"; |
| 54 | flash@0 { |
| 55 | status = "okay"; |
| 56 | m25p,fast-read; |
| 57 | label = "bmc"; |
| 58 | #include "facebook-bmc-flash-layout.dtsi" |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | &uart1 { |
| 63 | status = "okay"; |
| 64 | pinctrl-names = "default"; |
| 65 | pinctrl-0 = <&pinctrl_txd1_default |
| 66 | &pinctrl_rxd1_default>; |
| 67 | }; |
| 68 | |
| 69 | &uart2 { |
| 70 | status = "okay"; |
| 71 | pinctrl-names = "default"; |
| 72 | pinctrl-0 = <&pinctrl_txd2_default |
| 73 | &pinctrl_rxd2_default>; |
| 74 | }; |
| 75 | |
| 76 | &uart3 { |
| 77 | status = "okay"; |
| 78 | pinctrl-names = "default"; |
| 79 | pinctrl-0 = <&pinctrl_txd3_default |
| 80 | &pinctrl_rxd3_default>; |
| 81 | }; |
| 82 | |
| 83 | &uart5 { |
| 84 | status = "okay"; |
| 85 | }; |
| 86 | |
| 87 | &mac0 { |
| 88 | status = "okay"; |
| 89 | use-ncsi; |
| 90 | no-hw-checksum; |
| 91 | pinctrl-names = "default"; |
| 92 | pinctrl-0 = <&pinctrl_rmii1_default>; |
| 93 | }; |
| 94 | |
| 95 | &i2c0 { |
| 96 | status = "okay"; |
| 97 | }; |
| 98 | |
| 99 | &i2c1 { |
| 100 | status = "okay"; |
| 101 | }; |
| 102 | |
| 103 | &i2c2 { |
| 104 | status = "okay"; |
| 105 | |
| 106 | i2c-switch@75 { |
| 107 | compatible = "nxp,pca9548"; |
| 108 | #address-cells = <1>; |
| 109 | #size-cells = <0>; |
| 110 | reg = <0x75>; |
| 111 | }; |
| 112 | }; |
| 113 | |
| 114 | &i2c3 { |
| 115 | status = "okay"; |
| 116 | }; |
| 117 | |
| 118 | &i2c4 { |
| 119 | status = "okay"; |
| 120 | }; |
| 121 | |
| 122 | &i2c5 { |
| 123 | status = "okay"; |
| 124 | }; |
| 125 | |
| 126 | &i2c6 { |
| 127 | status = "okay"; |
| 128 | }; |
| 129 | |
| 130 | &i2c7 { |
| 131 | status = "okay"; |
| 132 | }; |
| 133 | |
| 134 | &i2c8 { |
| 135 | status = "okay"; |
| 136 | }; |
| 137 | |
| 138 | &i2c9 { |
| 139 | status = "okay"; |
| 140 | }; |
| 141 | |
| 142 | &i2c10 { |
| 143 | status = "okay"; |
| 144 | }; |
| 145 | |
| 146 | &i2c11 { |
| 147 | status = "okay"; |
| 148 | }; |
| 149 | |
| 150 | &i2c12 { |
| 151 | status = "okay"; |
| 152 | }; |
| 153 | |
| 154 | &i2c13 { |
| 155 | status = "okay"; |
| 156 | }; |
| 157 | |
| 158 | &vhub { |
| 159 | status = "okay"; |
| 160 | }; |