xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-facebook-minerva.dts (revision 8061d80d7a6bd33598d82a4cbcd06dd78c691e7d)
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
81*8061d80dSYang 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";
896ee9b939SYang Chen};
906ee9b939SYang Chen
916ee9b939SYang Chen&i2c1 {
926ee9b939SYang Chen	status = "okay";
936ee9b939SYang Chen
946ee9b939SYang Chen	temperature-sensor@4b {
956ee9b939SYang Chen		compatible = "ti,tmp75";
966ee9b939SYang Chen		reg = <0x4B>;
976ee9b939SYang Chen	};
986ee9b939SYang Chen
996ee9b939SYang Chen	eeprom@51 {
1006ee9b939SYang Chen		compatible = "atmel,24c128";
1016ee9b939SYang Chen		reg = <0x51>;
1026ee9b939SYang Chen	};
1036ee9b939SYang Chen};
1046ee9b939SYang Chen
1056ee9b939SYang Chen&i2c2 {
1066ee9b939SYang Chen	status = "okay";
1076ee9b939SYang Chen
1086ee9b939SYang Chen	i2c-mux@77 {
1096ee9b939SYang Chen		compatible = "nxp,pca9548";
1106ee9b939SYang Chen		reg = <0x77>;
1116ee9b939SYang Chen		#address-cells = <1>;
1126ee9b939SYang Chen		#size-cells = <0>;
1136ee9b939SYang Chen		i2c-mux-idle-disconnect;
1146ee9b939SYang Chen
1156ee9b939SYang Chen		i2c@0 {
1166ee9b939SYang Chen			#address-cells = <1>;
1176ee9b939SYang Chen			#size-cells = <0>;
1186ee9b939SYang Chen			reg = <0>;
1196ee9b939SYang Chen
1206ee9b939SYang Chen			eeprom@50 {
1216ee9b939SYang Chen				compatible = "atmel,24c128";
1226ee9b939SYang Chen				reg = <0x50>;
1236ee9b939SYang Chen			};
1246ee9b939SYang Chen		};
1256ee9b939SYang Chen
1266ee9b939SYang Chen		i2c@1 {
1276ee9b939SYang Chen			#address-cells = <1>;
1286ee9b939SYang Chen			#size-cells = <0>;
1296ee9b939SYang Chen			reg = <1>;
1306ee9b939SYang Chen
1316ee9b939SYang Chen			eeprom@50 {
1326ee9b939SYang Chen				compatible = "atmel,24c128";
1336ee9b939SYang Chen				reg = <0x50>;
1346ee9b939SYang Chen			};
1356ee9b939SYang Chen		};
1366ee9b939SYang Chen
1376ee9b939SYang Chen		i2c@2 {
1386ee9b939SYang Chen			#address-cells = <1>;
1396ee9b939SYang Chen			#size-cells = <0>;
1406ee9b939SYang Chen			reg = <2>;
1416ee9b939SYang Chen
1426ee9b939SYang Chen			eeprom@50 {
1436ee9b939SYang Chen				compatible = "atmel,24c128";
1446ee9b939SYang Chen				reg = <0x50>;
1456ee9b939SYang Chen			};
1466ee9b939SYang Chen		};
1476ee9b939SYang Chen
1486ee9b939SYang Chen		i2c@3 {
1496ee9b939SYang Chen			#address-cells = <1>;
1506ee9b939SYang Chen			#size-cells = <0>;
1516ee9b939SYang Chen			reg = <3>;
1526ee9b939SYang Chen
1536ee9b939SYang Chen			eeprom@50 {
1546ee9b939SYang Chen				compatible = "atmel,24c128";
1556ee9b939SYang Chen				reg = <0x50>;
1566ee9b939SYang Chen			};
1576ee9b939SYang Chen		};
1586ee9b939SYang Chen
1596ee9b939SYang Chen		i2c@4 {
1606ee9b939SYang Chen			#address-cells = <1>;
1616ee9b939SYang Chen			#size-cells = <0>;
1626ee9b939SYang Chen			reg = <4>;
1636ee9b939SYang Chen
1646ee9b939SYang Chen			eeprom@50 {
1656ee9b939SYang Chen				compatible = "atmel,24c128";
1666ee9b939SYang Chen				reg = <0x50>;
1676ee9b939SYang Chen			};
1686ee9b939SYang Chen		};
1696ee9b939SYang Chen
1706ee9b939SYang Chen		i2c@5 {
1716ee9b939SYang Chen			#address-cells = <1>;
1726ee9b939SYang Chen			#size-cells = <0>;
1736ee9b939SYang Chen			reg = <5>;
1746ee9b939SYang Chen
1756ee9b939SYang Chen			eeprom@50 {
1766ee9b939SYang Chen				compatible = "atmel,24c128";
1776ee9b939SYang Chen				reg = <0x50>;
1786ee9b939SYang Chen			};
1796ee9b939SYang Chen		};
1806ee9b939SYang Chen	};
1816ee9b939SYang Chen};
1826ee9b939SYang Chen
1836ee9b939SYang Chen&i2c3 {
1846ee9b939SYang Chen	status = "okay";
1856ee9b939SYang Chen};
1866ee9b939SYang Chen
1876ee9b939SYang Chen&i2c4 {
1886ee9b939SYang Chen	status = "okay";
1896ee9b939SYang Chen};
1906ee9b939SYang Chen
1916ee9b939SYang Chen&i2c5 {
1926ee9b939SYang Chen	status = "okay";
1936ee9b939SYang Chen};
1946ee9b939SYang Chen
1956ee9b939SYang Chen&i2c6 {
1966ee9b939SYang Chen	status = "okay";
1976ee9b939SYang Chen};
1986ee9b939SYang Chen
1996ee9b939SYang Chen&i2c7 {
2006ee9b939SYang Chen	status = "okay";
2016ee9b939SYang Chen};
2026ee9b939SYang Chen
2036ee9b939SYang Chen&i2c8 {
2046ee9b939SYang Chen	status = "okay";
2056ee9b939SYang Chen};
2066ee9b939SYang Chen
2076ee9b939SYang Chen&i2c9 {
2086ee9b939SYang Chen	status = "okay";
2096ee9b939SYang Chen};
2106ee9b939SYang Chen
2116ee9b939SYang Chen&i2c10 {
2126ee9b939SYang Chen	status = "okay";
2136ee9b939SYang Chen};
2146ee9b939SYang Chen
2156ee9b939SYang Chen&i2c11 {
2166ee9b939SYang Chen	status = "okay";
2176ee9b939SYang Chen};
2186ee9b939SYang Chen
2196ee9b939SYang Chen&i2c12 {
2206ee9b939SYang Chen	status = "okay";
2216ee9b939SYang Chen};
2226ee9b939SYang Chen
2236ee9b939SYang Chen&i2c13 {
2246ee9b939SYang Chen	status = "okay";
2256ee9b939SYang Chen};
2266ee9b939SYang Chen
2276ee9b939SYang Chen&i2c14 {
2286ee9b939SYang Chen	status = "okay";
2296ee9b939SYang Chen	multi-master;
2306ee9b939SYang Chen
2316ee9b939SYang Chen	ipmb@10 {
2326ee9b939SYang Chen		compatible = "ipmb-dev";
2336ee9b939SYang Chen		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
2346ee9b939SYang Chen		i2c-protocol;
2356ee9b939SYang Chen	};
2366ee9b939SYang Chen};
2376ee9b939SYang Chen
2386ee9b939SYang Chen&i2c15 {
2396ee9b939SYang Chen	status = "okay";
2406ee9b939SYang Chen
2416ee9b939SYang Chen	eeprom@50 {
2426ee9b939SYang Chen		compatible = "atmel,24c128";
2436ee9b939SYang Chen		reg = <0x50>;
2446ee9b939SYang Chen	};
2456ee9b939SYang Chen};
2466ee9b939SYang Chen
2476ee9b939SYang Chen&adc0 {
2486ee9b939SYang Chen	aspeed,int-vref-microvolt = <2500000>;
2496ee9b939SYang Chen	status = "okay";
2506ee9b939SYang Chen	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
2516ee9b939SYang Chen		&pinctrl_adc2_default &pinctrl_adc3_default
2526ee9b939SYang Chen		&pinctrl_adc4_default &pinctrl_adc5_default
2536ee9b939SYang Chen		&pinctrl_adc6_default &pinctrl_adc7_default>;
2546ee9b939SYang Chen};
2556ee9b939SYang Chen
2566ee9b939SYang Chen&adc1 {
2576ee9b939SYang Chen	aspeed,int-vref-microvolt = <2500000>;
2586ee9b939SYang Chen	status = "okay";
2596ee9b939SYang Chen	pinctrl-0 = <&pinctrl_adc10_default>;
2606ee9b939SYang Chen};
2616ee9b939SYang Chen
2626ee9b939SYang Chen&ehci1 {
2636ee9b939SYang Chen	status = "okay";
2646ee9b939SYang Chen};
2656ee9b939SYang Chen
2666ee9b939SYang Chen&uhci {
2676ee9b939SYang Chen	status = "okay";
2686ee9b939SYang Chen};
269