0001 // SPDX-License-Identifier: GPL-2.0
0002 // Copyright (c) 2018 Inspur Corporation
0003 /dts-v1/;
0004
0005 #include "aspeed-g5.dtsi"
0006 #include <dt-bindings/gpio/aspeed-gpio.h>
0007
0008 / {
0009 model = "ON5263M5 BMC";
0010 compatible = "inspur,on5263m5-bmc", "aspeed,ast2500";
0011
0012 chosen {
0013 stdout-path = &uart5;
0014 bootargs = "earlycon";
0015 };
0016
0017 memory {
0018 reg = <0x80000000 0x20000000>;
0019 };
0020
0021 reserved-memory {
0022 #address-cells = <1>;
0023 #size-cells = <1>;
0024 ranges;
0025
0026 vga_memory: framebuffer@9f000000 {
0027 no-map;
0028 reg = <0x9f000000 0x01000000>;
0029 };
0030 };
0031
0032 leds {
0033 compatible = "gpio-leds";
0034 bmc_alive {
0035 label = "bmc_alive";
0036 gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
0037 linux,default-trigger = "timer";
0038 };
0039 };
0040
0041 iio-hwmon {
0042 compatible = "iio-hwmon";
0043 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
0044 <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
0045 };
0046
0047 };
0048
0049 &fmc {
0050 status = "okay";
0051 flash@0 {
0052 status = "okay";
0053 m25p,fast-read;
0054 label = "bmc";
0055 #include "openbmc-flash-layout.dtsi"
0056 };
0057 };
0058
0059 &spi1 {
0060 status = "okay";
0061 pinctrl-names = "default";
0062 pinctrl-0 = <&pinctrl_spi1_default>;
0063
0064 flash@0 {
0065 status = "okay";
0066 m25p,fast-read;
0067 label = "pnor";
0068 };
0069 };
0070
0071 &uart5 {
0072 status = "okay";
0073 };
0074
0075 &mac0 {
0076 status = "okay";
0077
0078 pinctrl-names = "default";
0079 pinctrl-0 = <&pinctrl_rmii1_default>;
0080 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
0081 <&syscon ASPEED_CLK_MAC1RCLK>;
0082 clock-names = "MACCLK", "RCLK";
0083 use-ncsi;
0084 };
0085
0086 &mac1 {
0087 status = "okay";
0088
0089 pinctrl-names = "default";
0090 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
0091 };
0092
0093 &i2c6 {
0094 status = "okay";
0095
0096 tmp421@4e {
0097 compatible = "ti,tmp421";
0098 reg = <0x4e>;
0099 };
0100
0101 tmp112@48 {
0102 compatible = "ti,tmp112";
0103 reg = <0x48>;
0104 };
0105
0106 eeprom@54 {
0107 compatible = "atmel,24c64";
0108 reg = <0x54>;
0109 pagesize = <32>;
0110 };
0111 };
0112
0113 &i2c7 {
0114 status = "okay";
0115
0116 adm1278@11 {
0117 compatible = "adi,adm1278";
0118 reg = <0x11>;
0119 };
0120 };
0121
0122 &gfx {
0123 status = "okay";
0124 };
0125
0126 &pinctrl {
0127 aspeed,external-nodes = <&gfx &lhc>;
0128 };
0129
0130 &pwm_tacho {
0131 status = "okay";
0132 pinctrl-names = "default";
0133 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>;
0134
0135 fan@0 {
0136 reg = <0x00>;
0137 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
0138 };
0139
0140 fan@1 {
0141 reg = <0x01>;
0142 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
0143 };
0144 };
0145
0146 &adc {
0147 status = "okay";
0148 };