1// SPDX-License-Identifier: GPL-2.0+ 2// Copyright (c) 2018 Facebook Inc. 3/dts-v1/; 4 5#include "aspeed-g4.dtsi" 6 7/ { 8 model = "Facebook Wedge 40 BMC"; 9 compatible = "facebook,wedge40-bmc", "aspeed,ast2400"; 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 = &uart3; 19 serial3 = &uart4; 20 }; 21 22 chosen { 23 stdout-path = &uart3; 24 bootargs = "console=ttyS2,9600n8 root=/dev/ram rw"; 25 }; 26 27 memory@40000000 { 28 reg = <0x40000000 0x20000000>; 29 }; 30 31 ast-adc-hwmon { 32 compatible = "iio-hwmon"; 33 io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; 34 }; 35}; 36 37&wdt1 { 38 status = "okay"; 39 aspeed,reset-type = "system"; 40}; 41 42&wdt2 { 43 status = "disabled"; 44}; 45 46&fmc { 47 status = "okay"; 48 flash@0 { 49 status = "okay"; 50 m25p,fast-read; 51 label = "spi0.0"; 52#include "facebook-bmc-flash-layout.dtsi" 53 }; 54}; 55 56&uart1 { 57 status = "okay"; 58 pinctrl-names = "default"; 59 pinctrl-0 = <&pinctrl_txd1_default 60 &pinctrl_rxd1_default>; 61}; 62 63&uart3 { 64 status = "okay"; 65 pinctrl-names = "default"; 66 pinctrl-0 = <&pinctrl_txd3_default 67 &pinctrl_rxd3_default>; 68}; 69 70&uart4 { 71 status = "okay"; 72 pinctrl-names = "default"; 73 pinctrl-0 = <&pinctrl_txd4_default 74 &pinctrl_rxd4_default 75 &pinctrl_ndts4_default>; 76}; 77 78&uart5 { 79 status = "okay"; 80}; 81 82&mac1 { 83 status = "okay"; 84 pinctrl-names = "default"; 85 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 86}; 87 88&i2c0 { 89 status = "okay"; 90}; 91 92&i2c1 { 93 status = "okay"; 94}; 95 96&i2c2 { 97 status = "okay"; 98}; 99 100&i2c3 { 101 status = "okay"; 102}; 103 104&i2c4 { 105 status = "okay"; 106}; 107 108&i2c5 { 109 status = "okay"; 110}; 111 112&i2c6 { 113 status = "okay"; 114}; 115 116&i2c7 { 117 status = "okay"; 118}; 119 120&i2c8 { 121 status = "okay"; 122}; 123 124&i2c11 { 125 status = "okay"; 126}; 127 128&i2c12 { 129 status = "okay"; 130}; 131 132&vhub { 133 status = "okay"; 134}; 135 136&adc { 137 status = "okay"; 138}; 139 140&pwm_tacho { 141 status = "okay"; 142 pinctrl-names = "default"; 143 pinctrl-0 = <&pinctrl_pwm0_default 144 &pinctrl_pwm1_default 145 &pinctrl_pwm6_default 146 &pinctrl_pwm7_default>; 147 148 fan@0 { 149 reg = <0x00>; 150 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>; 151 }; 152 153 fan@1 { 154 reg = <0x01>; 155 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>; 156 }; 157 158 fan@6 { 159 reg = <0x06>; 160 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>; 161 }; 162 163 fan@7 { 164 reg = <0x07>; 165 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>; 166 }; 167}; 168