Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 // Copyright (c) 2017 Intel Corporation
0003 /dts-v1/;
0004 
0005 #include "aspeed-g5.dtsi"
0006 
0007 / {
0008         model = "S2600WF BMC";
0009         compatible = "intel,s2600wf-bmc", "aspeed,ast2500";
0010 
0011         chosen {
0012                 stdout-path = &uart5;
0013                 bootargs = "earlycon";
0014         };
0015 
0016         memory@80000000 {
0017                 reg = <0x80000000 0x20000000>;
0018         };
0019 
0020         reserved-memory {
0021                 #address-cells = <1>;
0022                 #size-cells = <1>;
0023                 ranges;
0024 
0025                 vga_memory: framebuffer@9f000000 {
0026                         no-map;
0027                         reg = <0x9f000000 0x01000000>; /* 16M */
0028                 };
0029         };
0030 
0031         iio-hwmon {
0032                 compatible = "iio-hwmon";
0033                 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
0034                         <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
0035                         <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
0036                         <&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>;
0037         };
0038 
0039 };
0040 
0041 &fmc {
0042         status = "okay";
0043         flash@0 {
0044                 status = "okay";
0045                 m25p,fast-read;
0046                 label = "bmc";
0047 #include "openbmc-flash-layout.dtsi"
0048         };
0049 };
0050 
0051 &spi1 {
0052         status = "okay";
0053         pinctrl-names = "default";
0054         pinctrl-0 = <&pinctrl_spi1_default>;
0055 
0056         flash@0 {
0057                 status = "okay";
0058                 m25p,fast-read;
0059                 label = "pnor";
0060         };
0061 };
0062 
0063 &uart5 {
0064         status = "okay";
0065 };
0066 
0067 &mac0 {
0068         status = "okay";
0069 
0070         pinctrl-names = "default";
0071         pinctrl-0 = <&pinctrl_rmii1_default>;
0072         clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
0073                  <&syscon ASPEED_CLK_MAC1RCLK>;
0074         clock-names = "MACCLK", "RCLK";
0075         use-ncsi;
0076 };
0077 
0078 &mac1 {
0079         status = "okay";
0080 
0081         pinctrl-names = "default";
0082         pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
0083 };
0084 
0085 &i2c1 {
0086         status = "okay";
0087 };
0088 
0089 &i2c2 {
0090         status = "okay";
0091 };
0092 
0093 &i2c3 {
0094         status = "okay";
0095 };
0096 
0097 &i2c4 {
0098         status = "okay";
0099 };
0100 
0101 &i2c5 {
0102         status = "okay";
0103 };
0104 
0105 &i2c6 {
0106         status = "okay";
0107 };
0108 
0109 &i2c7 {
0110         status = "okay";
0111 };
0112 
0113 &i2c13 {
0114         status = "okay";
0115 };
0116 
0117 &gfx {
0118         status = "okay";
0119 };
0120 
0121 &pinctrl {
0122         aspeed,external-nodes = <&gfx &lhc>;
0123 };
0124 
0125 &pwm_tacho {
0126         status = "okay";
0127         pinctrl-names = "default";
0128         pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
0129                          &pinctrl_pwm2_default &pinctrl_pwm3_default
0130                          &pinctrl_pwm4_default &pinctrl_pwm5_default
0131                          &pinctrl_pwm6_default &pinctrl_pwm7_default>;
0132 };