Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 // Copyright (c) 2018 Facebook Inc.
0003 /dts-v1/;
0004 
0005 #include "ast2500-facebook-netbmc-common.dtsi"
0006 
0007 / {
0008         model = "Facebook YAMP 100 BMC";
0009         compatible = "facebook,yamp-bmc", "aspeed,ast2500";
0010 
0011         aliases {
0012                 /*
0013                  * Override the default uart aliases to avoid breaking
0014                  * the legacy applications.
0015                  */
0016                 serial0 = &uart5;
0017                 serial1 = &uart1;
0018                 serial2 = &uart2;
0019                 serial3 = &uart3;
0020         };
0021 
0022         chosen {
0023                 stdout-path = &uart5;
0024                 bootargs = "console=ttyS0,9600n8 root=/dev/ram rw";
0025         };
0026 };
0027 
0028 &uart2 {
0029         status = "okay";
0030         pinctrl-names = "default";
0031         pinctrl-0 = <&pinctrl_txd2_default
0032                      &pinctrl_rxd2_default>;
0033 };
0034 
0035 &mac0 {
0036         status = "okay";
0037         use-ncsi;
0038         pinctrl-names = "default";
0039         pinctrl-0 = <&pinctrl_rmii1_default>;
0040         clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
0041                  <&syscon ASPEED_CLK_MAC1RCLK>;
0042         clock-names = "MACCLK", "RCLK";
0043 };
0044 
0045 &mac1 {
0046         status = "disabled";
0047 };
0048 
0049 &i2c0 {
0050         status = "okay";
0051 };
0052 
0053 &i2c1 {
0054         status = "okay";
0055 };
0056 
0057 &i2c2 {
0058         status = "okay";
0059 
0060         i2c-switch@75 {
0061                 compatible = "nxp,pca9548";
0062                 #address-cells = <1>;
0063                 #size-cells = <0>;
0064                 reg = <0x75>;
0065         };
0066 };
0067 
0068 &i2c3 {
0069         status = "okay";
0070 };
0071 
0072 &i2c4 {
0073         status = "okay";
0074 };
0075 
0076 &i2c5 {
0077         status = "okay";
0078 };
0079 
0080 &i2c6 {
0081         status = "okay";
0082 };
0083 
0084 &i2c7 {
0085         status = "okay";
0086 };
0087 
0088 &i2c8 {
0089         status = "okay";
0090 };
0091 
0092 &i2c9 {
0093         status = "okay";
0094 };
0095 
0096 &i2c10 {
0097         status = "okay";
0098 };
0099 
0100 &i2c11 {
0101         status = "okay";
0102 };
0103 
0104 &i2c12 {
0105         status = "okay";
0106 };
0107 
0108 &i2c13 {
0109         status = "okay";
0110 };
0111 
0112 &fmc_flash0 {
0113 #include "facebook-bmc-flash-layout.dtsi"
0114 };
0115 
0116 &fmc_flash1 {
0117         partitions {
0118                 compatible = "fixed-partitions";
0119                 #address-cells = <1>;
0120                 #size-cells = <1>;
0121 
0122                 flash1@0 {
0123                         reg = <0x0 0x2000000>;
0124                         label = "flash1";
0125                 };
0126         };
0127 };