xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-facebook-minerva.dts (revision 331dfa00f4ae8595e86f798951a10c1bbfa67880)
16ee9b939SYang Chen// SPDX-License-Identifier: GPL-2.0+
26ee9b939SYang Chen// Copyright (c) 2023 Facebook Inc.
36ee9b939SYang Chen/dts-v1/;
46ee9b939SYang Chen
56ee9b939SYang Chen#include "aspeed-g6.dtsi"
66ee9b939SYang Chen#include <dt-bindings/gpio/aspeed-gpio.h>
76ee9b939SYang Chen#include <dt-bindings/i2c/i2c.h>
86ee9b939SYang Chen
96ee9b939SYang Chen/ {
106ee9b939SYang Chen	model = "Facebook Minerva CMM";
116ee9b939SYang Chen	compatible = "facebook,minerva-cmc", "aspeed,ast2600";
126ee9b939SYang Chen
136ee9b939SYang Chen	aliases {
146ee9b939SYang Chen		serial5 = &uart5;
156ee9b939SYang Chen	};
166ee9b939SYang Chen
176ee9b939SYang Chen	chosen {
186ee9b939SYang Chen		stdout-path = "serial5:57600n8";
196ee9b939SYang Chen	};
206ee9b939SYang Chen
216ee9b939SYang Chen	memory@80000000 {
226ee9b939SYang Chen		device_type = "memory";
236ee9b939SYang Chen		reg = <0x80000000 0x80000000>;
246ee9b939SYang Chen	};
256ee9b939SYang Chen
266ee9b939SYang Chen	iio-hwmon {
276ee9b939SYang Chen		compatible = "iio-hwmon";
286ee9b939SYang Chen		io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
296ee9b939SYang Chen			<&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
306ee9b939SYang Chen			<&adc1 2>;
316ee9b939SYang Chen	};
326ee9b939SYang Chen};
336ee9b939SYang Chen
346ee9b939SYang Chen&uart6 {
356ee9b939SYang Chen	status = "okay";
366ee9b939SYang Chen};
376ee9b939SYang Chen
386ee9b939SYang Chen&wdt1 {
396ee9b939SYang Chen	status = "okay";
406ee9b939SYang Chen	pinctrl-names = "default";
416ee9b939SYang Chen	pinctrl-0 = <&pinctrl_wdtrst1_default>;
426ee9b939SYang Chen	aspeed,reset-type = "soc";
436ee9b939SYang Chen	aspeed,external-signal;
446ee9b939SYang Chen	aspeed,ext-push-pull;
456ee9b939SYang Chen	aspeed,ext-active-high;
466ee9b939SYang Chen	aspeed,ext-pulse-duration = <256>;
476ee9b939SYang Chen};
486ee9b939SYang Chen
496ee9b939SYang Chen&mac3 {
506ee9b939SYang Chen	status = "okay";
51cb188e3fSYang Chen	phy-mode = "rmii";
526ee9b939SYang Chen	pinctrl-names = "default";
536ee9b939SYang Chen	pinctrl-0 = <&pinctrl_rmii4_default>;
54cb188e3fSYang Chen	fixed-link {
55cb188e3fSYang Chen		speed = <100>;
56cb188e3fSYang Chen		full-duplex;
57cb188e3fSYang Chen	};
586ee9b939SYang Chen};
596ee9b939SYang Chen
606ee9b939SYang Chen&fmc {
616ee9b939SYang Chen	status = "okay";
626ee9b939SYang Chen	flash@0 {
636ee9b939SYang Chen		status = "okay";
646ee9b939SYang Chen		m25p,fast-read;
656ee9b939SYang Chen		label = "bmc";
666ee9b939SYang Chen		spi-max-frequency = <50000000>;
676ee9b939SYang Chen#include "openbmc-flash-layout-128.dtsi"
686ee9b939SYang Chen	};
696ee9b939SYang Chen	flash@1 {
706ee9b939SYang Chen		status = "okay";
716ee9b939SYang Chen		m25p,fast-read;
726ee9b939SYang Chen		label = "alt-bmc";
736ee9b939SYang Chen		spi-max-frequency = <50000000>;
746ee9b939SYang Chen	};
756ee9b939SYang Chen};
766ee9b939SYang Chen
776ee9b939SYang Chen&rtc {
786ee9b939SYang Chen	status = "okay";
796ee9b939SYang Chen};
806ee9b939SYang Chen
818061d80dSYang Chen&sgpiom0 {
826ee9b939SYang Chen	status = "okay";
836ee9b939SYang Chen	ngpios = <128>;
846ee9b939SYang Chen	bus-frequency = <2000000>;
856ee9b939SYang Chen};
866ee9b939SYang Chen
876ee9b939SYang Chen&i2c0 {
886ee9b939SYang Chen	status = "okay";
89*331dfa00SYang Chen
90*331dfa00SYang Chen	power-monitor@40 {
91*331dfa00SYang Chen		compatible = "ti,ina230";
92*331dfa00SYang Chen		reg = <0x40>;
93*331dfa00SYang Chen		shunt-resistor = <1000>;
94*331dfa00SYang Chen	};
95*331dfa00SYang Chen
96*331dfa00SYang Chen	power-monitor@41 {
97*331dfa00SYang Chen		compatible = "ti,ina230";
98*331dfa00SYang Chen		reg = <0x41>;
99*331dfa00SYang Chen		shunt-resistor = <1000>;
100*331dfa00SYang Chen	};
101*331dfa00SYang Chen
102*331dfa00SYang Chen	power-monitor@67 {
103*331dfa00SYang Chen		compatible = "adi,ltc2945";
104*331dfa00SYang Chen		reg = <0x67>;
105*331dfa00SYang Chen	};
106*331dfa00SYang Chen
107*331dfa00SYang Chen	power-monitor@68 {
108*331dfa00SYang Chen		compatible = "adi,ltc2945";
109*331dfa00SYang Chen		reg = <0x68>;
110*331dfa00SYang Chen	};
1116ee9b939SYang Chen};
1126ee9b939SYang Chen
1136ee9b939SYang Chen&i2c1 {
1146ee9b939SYang Chen	status = "okay";
1156ee9b939SYang Chen
1166ee9b939SYang Chen	temperature-sensor@4b {
1176ee9b939SYang Chen		compatible = "ti,tmp75";
1186ee9b939SYang Chen		reg = <0x4B>;
1196ee9b939SYang Chen	};
1206ee9b939SYang Chen
1216ee9b939SYang Chen	eeprom@51 {
1226ee9b939SYang Chen		compatible = "atmel,24c128";
1236ee9b939SYang Chen		reg = <0x51>;
1246ee9b939SYang Chen	};
1256ee9b939SYang Chen};
1266ee9b939SYang Chen
1276ee9b939SYang Chen&i2c2 {
1286ee9b939SYang Chen	status = "okay";
1296ee9b939SYang Chen
1306ee9b939SYang Chen	i2c-mux@77 {
1316ee9b939SYang Chen		compatible = "nxp,pca9548";
1326ee9b939SYang Chen		reg = <0x77>;
1336ee9b939SYang Chen		#address-cells = <1>;
1346ee9b939SYang Chen		#size-cells = <0>;
1356ee9b939SYang Chen		i2c-mux-idle-disconnect;
1366ee9b939SYang Chen
1376ee9b939SYang Chen		i2c@0 {
1386ee9b939SYang Chen			#address-cells = <1>;
1396ee9b939SYang Chen			#size-cells = <0>;
1406ee9b939SYang Chen			reg = <0>;
1416ee9b939SYang Chen
1426ee9b939SYang Chen			eeprom@50 {
1436ee9b939SYang Chen				compatible = "atmel,24c128";
1446ee9b939SYang Chen				reg = <0x50>;
1456ee9b939SYang Chen			};
1466ee9b939SYang Chen		};
1476ee9b939SYang Chen
1486ee9b939SYang Chen		i2c@1 {
1496ee9b939SYang Chen			#address-cells = <1>;
1506ee9b939SYang Chen			#size-cells = <0>;
1516ee9b939SYang Chen			reg = <1>;
1526ee9b939SYang Chen
1536ee9b939SYang Chen			eeprom@50 {
1546ee9b939SYang Chen				compatible = "atmel,24c128";
1556ee9b939SYang Chen				reg = <0x50>;
1566ee9b939SYang Chen			};
1576ee9b939SYang Chen		};
1586ee9b939SYang Chen
1596ee9b939SYang Chen		i2c@2 {
1606ee9b939SYang Chen			#address-cells = <1>;
1616ee9b939SYang Chen			#size-cells = <0>;
1626ee9b939SYang Chen			reg = <2>;
1636ee9b939SYang Chen
1646ee9b939SYang Chen			eeprom@50 {
1656ee9b939SYang Chen				compatible = "atmel,24c128";
1666ee9b939SYang Chen				reg = <0x50>;
1676ee9b939SYang Chen			};
1686ee9b939SYang Chen		};
1696ee9b939SYang Chen
1706ee9b939SYang Chen		i2c@3 {
1716ee9b939SYang Chen			#address-cells = <1>;
1726ee9b939SYang Chen			#size-cells = <0>;
1736ee9b939SYang Chen			reg = <3>;
1746ee9b939SYang Chen
1756ee9b939SYang Chen			eeprom@50 {
1766ee9b939SYang Chen				compatible = "atmel,24c128";
1776ee9b939SYang Chen				reg = <0x50>;
1786ee9b939SYang Chen			};
1796ee9b939SYang Chen		};
1806ee9b939SYang Chen
1816ee9b939SYang Chen		i2c@4 {
1826ee9b939SYang Chen			#address-cells = <1>;
1836ee9b939SYang Chen			#size-cells = <0>;
1846ee9b939SYang Chen			reg = <4>;
1856ee9b939SYang Chen
1866ee9b939SYang Chen			eeprom@50 {
1876ee9b939SYang Chen				compatible = "atmel,24c128";
1886ee9b939SYang Chen				reg = <0x50>;
1896ee9b939SYang Chen			};
1906ee9b939SYang Chen		};
1916ee9b939SYang Chen
1926ee9b939SYang Chen		i2c@5 {
1936ee9b939SYang Chen			#address-cells = <1>;
1946ee9b939SYang Chen			#size-cells = <0>;
1956ee9b939SYang Chen			reg = <5>;
1966ee9b939SYang Chen
1976ee9b939SYang Chen			eeprom@50 {
1986ee9b939SYang Chen				compatible = "atmel,24c128";
1996ee9b939SYang Chen				reg = <0x50>;
2006ee9b939SYang Chen			};
2016ee9b939SYang Chen		};
2026ee9b939SYang Chen	};
2036ee9b939SYang Chen};
2046ee9b939SYang Chen
2056ee9b939SYang Chen&i2c3 {
2066ee9b939SYang Chen	status = "okay";
2076ee9b939SYang Chen};
2086ee9b939SYang Chen
2096ee9b939SYang Chen&i2c4 {
2106ee9b939SYang Chen	status = "okay";
2116ee9b939SYang Chen};
2126ee9b939SYang Chen
2136ee9b939SYang Chen&i2c5 {
2146ee9b939SYang Chen	status = "okay";
2156ee9b939SYang Chen};
2166ee9b939SYang Chen
2176ee9b939SYang Chen&i2c6 {
2186ee9b939SYang Chen	status = "okay";
2196ee9b939SYang Chen};
2206ee9b939SYang Chen
2216ee9b939SYang Chen&i2c7 {
2226ee9b939SYang Chen	status = "okay";
2236ee9b939SYang Chen};
2246ee9b939SYang Chen
2256ee9b939SYang Chen&i2c8 {
2266ee9b939SYang Chen	status = "okay";
2276ee9b939SYang Chen};
2286ee9b939SYang Chen
2296ee9b939SYang Chen&i2c9 {
2306ee9b939SYang Chen	status = "okay";
2316ee9b939SYang Chen};
2326ee9b939SYang Chen
2336ee9b939SYang Chen&i2c10 {
2346ee9b939SYang Chen	status = "okay";
2356ee9b939SYang Chen};
2366ee9b939SYang Chen
2376ee9b939SYang Chen&i2c11 {
2386ee9b939SYang Chen	status = "okay";
2396ee9b939SYang Chen};
2406ee9b939SYang Chen
2416ee9b939SYang Chen&i2c12 {
2426ee9b939SYang Chen	status = "okay";
2436ee9b939SYang Chen};
2446ee9b939SYang Chen
2456ee9b939SYang Chen&i2c13 {
2466ee9b939SYang Chen	status = "okay";
2476ee9b939SYang Chen};
2486ee9b939SYang Chen
2496ee9b939SYang Chen&i2c14 {
2506ee9b939SYang Chen	status = "okay";
2516ee9b939SYang Chen	multi-master;
2526ee9b939SYang Chen
2536ee9b939SYang Chen	ipmb@10 {
2546ee9b939SYang Chen		compatible = "ipmb-dev";
2556ee9b939SYang Chen		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
2566ee9b939SYang Chen		i2c-protocol;
2576ee9b939SYang Chen	};
2586ee9b939SYang Chen};
2596ee9b939SYang Chen
2606ee9b939SYang Chen&i2c15 {
2616ee9b939SYang Chen	status = "okay";
2626ee9b939SYang Chen
2636ee9b939SYang Chen	eeprom@50 {
2646ee9b939SYang Chen		compatible = "atmel,24c128";
2656ee9b939SYang Chen		reg = <0x50>;
2666ee9b939SYang Chen	};
2676ee9b939SYang Chen};
2686ee9b939SYang Chen
2696ee9b939SYang Chen&adc0 {
2706ee9b939SYang Chen	aspeed,int-vref-microvolt = <2500000>;
2716ee9b939SYang Chen	status = "okay";
2726ee9b939SYang Chen	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
2736ee9b939SYang Chen		&pinctrl_adc2_default &pinctrl_adc3_default
2746ee9b939SYang Chen		&pinctrl_adc4_default &pinctrl_adc5_default
2756ee9b939SYang Chen		&pinctrl_adc6_default &pinctrl_adc7_default>;
2766ee9b939SYang Chen};
2776ee9b939SYang Chen
2786ee9b939SYang Chen&adc1 {
2796ee9b939SYang Chen	aspeed,int-vref-microvolt = <2500000>;
2806ee9b939SYang Chen	status = "okay";
2816ee9b939SYang Chen	pinctrl-0 = <&pinctrl_adc10_default>;
2826ee9b939SYang Chen};
2836ee9b939SYang Chen
2846ee9b939SYang Chen&ehci1 {
2856ee9b939SYang Chen	status = "okay";
2866ee9b939SYang Chen};
2876ee9b939SYang Chen
2886ee9b939SYang Chen&uhci {
2896ee9b939SYang Chen	status = "okay";
2906ee9b939SYang Chen};
291