Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 // Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
0003 
0004 /dts-v1/;
0005 
0006 #include "aspeed-g6.dtsi"
0007 
0008 / {
0009         model = "Qualcomm DC-SCM V1 BMC";
0010         compatible = "qcom,dc-scm-v1-bmc", "aspeed,ast2600";
0011 
0012         aliases {
0013                 serial4 = &uart5;
0014         };
0015 
0016         chosen {
0017                 stdout-path = &uart5;
0018                 bootargs = "console=ttyS4,115200n8";
0019         };
0020 
0021         memory@80000000 {
0022                 device_type = "memory";
0023                 reg = <0x80000000 0x40000000>;
0024         };
0025 };
0026 
0027 &mdio3 {
0028         status = "okay";
0029 
0030         ethphy3: ethernet-phy@1 {
0031                 compatible = "ethernet-phy-ieee802.3-c22";
0032                 reg = <1>;
0033         };
0034 };
0035 
0036 &mac2 {
0037         status = "okay";
0038 
0039         /* Bootloader sets up the MAC to insert delay */
0040         phy-mode = "rgmii";
0041         phy-handle = <&ethphy3>;
0042 
0043         pinctrl-names = "default";
0044         pinctrl-0 = <&pinctrl_rgmii3_default>;
0045 };
0046 
0047 &mac3 {
0048         status = "okay";
0049 
0050         pinctrl-names = "default";
0051         pinctrl-0 = <&pinctrl_rmii4_default>;
0052 
0053         use-ncsi;
0054 };
0055 
0056 &rtc {
0057         status = "okay";
0058 };
0059 
0060 &fmc {
0061         status = "okay";
0062 
0063         flash@0 {
0064                 status = "okay";
0065                 m25p,fast-read;
0066                 label = "bmc";
0067                 spi-max-frequency = <133000000>;
0068 #include "openbmc-flash-layout-64.dtsi"
0069         };
0070 
0071         flash@1 {
0072                 status = "okay";
0073                 m25p,fast-read;
0074                 label = "alt-bmc";
0075                 spi-max-frequency = <133000000>;
0076 #include "openbmc-flash-layout-64-alt.dtsi"
0077         };
0078 };
0079 
0080 &spi1 {
0081         status = "okay";
0082         pinctrl-names = "default";
0083         pinctrl-0 = <&pinctrl_spi1_default>;
0084 
0085         flash@0 {
0086                 status = "okay";
0087                 m25p,fast-read;
0088                 label = "bios";
0089                 spi-max-frequency = <133000000>;
0090         };
0091 };
0092 
0093 &gpio0 {
0094         gpio-line-names =
0095         /*A0-A7*/       "","","","","","","","",
0096         /*B0-B7*/       "BMC_FLASH_MUX_SEL","","","","","","","",
0097         /*C0-C7*/       "","","","","","","","",
0098         /*D0-D7*/       "","","","","","","","",
0099         /*E0-E7*/       "","","","","","","","",
0100         /*F0-F7*/       "","","","","","","","",
0101         /*G0-G7*/       "","","","","","","","",
0102         /*H0-H7*/       "","","","","","","","",
0103         /*I0-I7*/       "","","","","","","","",
0104         /*J0-J7*/       "","","","","","","","",
0105         /*K0-K7*/       "","","","","","","","",
0106         /*L0-L7*/       "","","","","","","","",
0107         /*M0-M7*/       "","","","","","","","",
0108         /*N0-N7*/       "BMC_FWSPI_RST_N","","GPIO_1_BMC_3V3","","","","","",
0109         /*O0-O7*/       "JTAG_MUX_A","JTAG_MUX_B","","","","","","",
0110         /*P0-P7*/       "","","","","","","","",
0111         /*Q0-Q7*/       "","","","","","","","",
0112         /*R0-R7*/       "","","","","","","","",
0113         /*S0-S7*/       "","","","","","","","",
0114         /*T0-T7*/       "","","","","","","","",
0115         /*U0-U7*/       "","","","","","","","",
0116         /*V0-V7*/       "","","","SCMFPGA_SPARE_GPIO1_3V3",
0117                         "SCMFPGA_SPARE_GPIO2_3V3","SCMFPGA_SPARE_GPIO3_3V3",
0118                         "SCMFPGA_SPARE_GPIO4_3V3","SCMFPGA_SPARE_GPIO5_3V3",
0119         /*W0-W7*/       "","","","","","","","",
0120         /*X0-X7*/       "","","","","","","","",
0121         /*Y0-Y7*/       "","","","","","","","",
0122         /*Z0-Z7*/       "","","","","","","","",
0123         /*AA0-AA7*/     "","","","","","","","",
0124         /*AB0-AB7*/     "","","","","","","","",
0125         /*AC0-AC7*/     "","","","","","","","";
0126 };
0127 
0128 &gpio1 {
0129         gpio-line-names =
0130         /*A0-A7*/       "GPI_1_BMC_1V8","","","","","",
0131                         "SCMFPGA_SPARE_GPIO1_1V8","SCMFPGA_SPARE_GPIO2_1V8",
0132         /*B0-B7*/       "SCMFPGA_SPARE_GPIO3_1V8","SCMFPGA_SPARE_GPIO4_1V8",
0133                         "SCMFPGA_SPARE_GPIO5_1V8","","","","","",
0134         /*C0-C7*/       "","","","","","","","",
0135         /*D0-D7*/       "","BMC_SPI1_RST_N","BIOS_FLASH_MUX_SEL","",
0136                         "","TPM2_PIRQ_N","TPM2_RST_N","",
0137         /*E0-E7*/       "","","","","","","","";
0138 };
0139 
0140 &i2c2 {
0141         status = "okay";
0142 };
0143 
0144 &i2c4 {
0145         status = "okay";
0146 };
0147 
0148 &i2c5 {
0149         status = "okay";
0150 };
0151 
0152 &i2c6 {
0153         status = "okay";
0154 };
0155 
0156 &i2c7 {
0157         status = "okay";
0158 };
0159 
0160 &i2c8 {
0161         status = "okay";
0162 };
0163 
0164 &i2c9 {
0165         status = "okay";
0166 };
0167 
0168 &i2c10 {
0169         status = "okay";
0170 };
0171 
0172 &i2c12 {
0173         status = "okay";
0174 };
0175 
0176 &i2c13 {
0177         status = "okay";
0178 };
0179 
0180 &i2c14 {
0181         status = "okay";
0182 };
0183 
0184 &i2c15 {
0185         status = "okay";
0186 };
0187 
0188 &vhub {
0189         status = "okay";
0190 };