Linux Audio

Check our new training course

Loading...
Note: File does not exist in v6.13.7.
  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 = "fmc0";
 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};
 76
 77&uart5 {
 78	status = "okay";
 79};
 80
 81&mac1 {
 82	status = "okay";
 83	pinctrl-names = "default";
 84	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
 85};
 86
 87&i2c0 {
 88	status = "okay";
 89};
 90
 91&i2c1 {
 92	status = "okay";
 93};
 94
 95&i2c2 {
 96	status = "okay";
 97};
 98
 99&i2c3 {
100	status = "okay";
101};
102
103&i2c4 {
104	status = "okay";
105};
106
107&i2c5 {
108	status = "okay";
109};
110
111&i2c6 {
112	status = "okay";
113};
114
115&i2c7 {
116	status = "okay";
117};
118
119&i2c8 {
120	status = "okay";
121};
122
123&i2c11 {
124	status = "okay";
125};
126
127&i2c12 {
128	status = "okay";
129};
130
131&vhub {
132	status = "okay";
133};
134
135&adc {
136	status = "okay";
137};
138
139&pwm_tacho {
140	status = "okay";
141	pinctrl-names = "default";
142	pinctrl-0 = <&pinctrl_pwm0_default
143		     &pinctrl_pwm1_default
144		     &pinctrl_pwm6_default
145		     &pinctrl_pwm7_default>;
146
147	fan@0 {
148		reg = <0x00>;
149		aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
150	};
151
152	fan@1 {
153		reg = <0x01>;
154		aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
155	};
156
157	fan@6 {
158		reg = <0x06>;
159		aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
160	};
161
162	fan@7 {
163		reg = <0x07>;
164		aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
165	};
166};