123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518 |
- // SPDX-License-Identifier: GPL-2.0
- /dts-v1/;
- #include "aspeed-g4.dtsi"
- #include <dt-bindings/gpio/aspeed-gpio.h>
- / {
- model = "Quanta Q71L BMC";
- compatible = "quanta,q71l-bmc", "aspeed,ast2400";
- aliases {
- i2c14 = &i2c_pcie2;
- i2c15 = &i2c_pcie3;
- i2c16 = &i2c_pcie6;
- i2c17 = &i2c_pcie7;
- i2c18 = &i2c_pcie1;
- i2c19 = &i2c_pcie4;
- i2c20 = &i2c_pcie5;
- i2c21 = &i2c_pcie8;
- i2c22 = &i2c_pcie9;
- i2c23 = &i2c_pcie10;
- i2c24 = &i2c_ssd1;
- i2c25 = &i2c_ssd2;
- i2c26 = &i2c_psu4;
- i2c27 = &i2c_psu1;
- i2c28 = &i2c_psu3;
- i2c29 = &i2c_psu2;
- };
- chosen {
- stdout-path = &uart5;
- bootargs = "console=ttyS4,115200 earlycon";
- };
- memory@40000000 {
- reg = <0x40000000 0x8000000>;
- };
- reserved-memory {
- #address-cells = <1>;
- #size-cells = <1>;
- ranges;
- vga_memory: framebuffer@47800000 {
- no-map;
- reg = <0x47800000 0x00800000>; /* 8MB */
- };
- };
- leds {
- compatible = "gpio-leds";
- heartbeat {
- gpios = <&gpio ASPEED_GPIO(B, 0) GPIO_ACTIVE_LOW>;
- };
- power {
- gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>;
- };
- identify {
- gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
- };
- };
- iio-hwmon {
- compatible = "iio-hwmon";
- io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
- <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
- <&adc 8>, <&adc 9>, <&adc 10>;
- };
- iio-hwmon-battery {
- compatible = "iio-hwmon";
- io-channels = <&adc 11>;
- };
- i2c1mux: i2cmux {
- compatible = "i2c-mux-gpio";
- #address-cells = <1>;
- #size-cells = <0>;
- /* mux-gpios = <&sgpio 10 GPIO_ACTIVE_HIGH> */
- i2c-parent = <&i2c1>;
- };
- };
- &fmc {
- status = "okay";
- flash@0 {
- status = "okay";
- label = "bmc";
- m25p,fast-read;
- #include "openbmc-flash-layout.dtsi"
- };
- };
- &spi {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_spi1_default>;
- flash@0 {
- status = "okay";
- m25p,fast-read;
- label = "pnor";
- };
- };
- &pinctrl {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_vgahs_default &pinctrl_vgavs_default
- &pinctrl_ddcclk_default &pinctrl_ddcdat_default>;
- };
- &p2a {
- status = "okay";
- memory-region = <&vga_memory>;
- };
- &ibt {
- status = "okay";
- };
- &lpc_ctrl {
- status = "okay";
- };
- &lpc_snoop {
- status = "okay";
- snoop-ports = <0x80>;
- };
- &mac0 {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_rmii1_default>;
- use-ncsi;
- };
- &mac1 {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
- };
- &uart1 {
- status = "okay";
- };
- &uart5 {
- status = "okay";
- };
- &i2c0 {
- status = "okay";
- };
- &i2c1 {
- status = "okay";
- /* temp2 inlet */
- tmp75@4c {
- compatible = "ti,tmp75";
- reg = <0x4c>;
- };
- /* temp3 */
- tmp75@4e {
- compatible = "ti,tmp75";
- reg = <0x4e>;
- };
- /* temp1 */
- tmp75@4f {
- compatible = "ti,tmp75";
- reg = <0x4f>;
- };
- /* Baseboard FRU */
- eeprom@54 {
- compatible = "atmel,24c64";
- reg = <0x54>;
- };
- /* FP FRU */
- eeprom@57 {
- compatible = "atmel,24c64";
- reg = <0x57>;
- };
- };
- &i2c2 {
- status = "okay";
- /* 0: PCIe Slot 2,
- * Slot 3,
- * Slot 6,
- * Slot 7
- */
- i2c-switch@74 {
- compatible = "nxp,pca9546";
- reg = <0x74>;
- #address-cells = <1>;
- #size-cells = <0>;
- i2c-mux-idle-disconnect; /* may use mux@77 next. */
- i2c_pcie2: i2c@0 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0>;
- };
- i2c_pcie3: i2c@1 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <1>;
- };
- i2c_pcie6: i2c@2 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <2>;
- };
- i2c_pcie7: i2c@3 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <3>;
- };
- };
- /* 0: PCIe Slot 1,
- * Slot 4,
- * Slot 5,
- * Slot 8,
- * Slot 9,
- * Slot 10,
- * SSD 1,
- * SSD 2
- */
- i2c-switch@77 {
- compatible = "nxp,pca9548";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0x77>;
- i2c-mux-idle-disconnect; /* may use mux@74 next. */
- i2c_pcie1: i2c@0 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0>;
- };
- i2c_pcie4: i2c@1 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <1>;
- };
- i2c_pcie5: i2c@2 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <2>;
- };
- i2c_pcie8: i2c@3 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <3>;
- };
- i2c_pcie9: i2c@4 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <4>;
- };
- i2c_pcie10: i2c@5 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <5>;
- };
- i2c_ssd1: i2c@6 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <6>;
- };
- i2c_ssd2: i2c@7 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <7>;
- };
- };
- };
- &i2c3 {
- status = "okay";
- /* BIOS FRU */
- eeprom@56 {
- compatible = "atmel,24c64";
- reg = <0x56>;
- };
- };
- &i2c4 {
- status = "okay";
- };
- &i2c5 {
- status = "okay";
- };
- &i2c6 {
- status = "okay";
- };
- &i2c7 {
- status = "okay";
- /* 0: PSU4
- * PSU1
- * PSU3
- * PSU2
- */
- i2c-switch@70 {
- compatible = "nxp,pca9546";
- reg = <0x70>;
- #address-cells = <1>;
- #size-cells = <0>;
- i2c_psu4: i2c@0 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0>;
- psu@59 {
- compatible = "pmbus";
- reg = <0x59>;
- };
- };
- i2c_psu1: i2c@1 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <1>;
- psu@58 {
- compatible = "pmbus";
- reg = <0x58>;
- };
- };
- i2c_psu3: i2c@2 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <2>;
- psu@58 {
- compatible = "pmbus";
- reg = <0x58>;
- };
- };
- i2c_psu2: i2c@3 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <3>;
- psu@59 {
- compatible = "pmbus";
- reg = <0x59>;
- };
- };
- };
- /* PDB FRU */
- eeprom@52 {
- compatible = "atmel,24c64";
- reg = <0x52>;
- };
- };
- &i2c8 {
- status = "okay";
- /* BMC FRU */
- eeprom@50 {
- compatible = "atmel,24c64";
- reg = <0x50>;
- };
- };
- &vuart {
- status = "okay";
- };
- &wdt2 {
- status = "okay";
- };
- &adc {
- status = "okay";
- };
- &pwm_tacho {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_pwm0_default
- &pinctrl_pwm1_default
- &pinctrl_pwm2_default
- &pinctrl_pwm3_default>;
- fan@0 {
- reg = <0x00>;
- aspeed,fan-tach-ch = /bits/ 8 <0x00>;
- };
- fan@1 {
- reg = <0x01>;
- aspeed,fan-tach-ch = /bits/ 8 <0x01>;
- };
- fan@2 {
- reg = <0x02>;
- aspeed,fan-tach-ch = /bits/ 8 <0x02>;
- };
- fan@3 {
- reg = <0x03>;
- aspeed,fan-tach-ch = /bits/ 8 <0x03>;
- };
- fan@4 {
- reg = <0x00>;
- aspeed,fan-tach-ch = /bits/ 8 <0x04>;
- };
- fan@5 {
- reg = <0x01>;
- aspeed,fan-tach-ch = /bits/ 8 <0x05>;
- };
- fan@6 {
- reg = <0x02>;
- aspeed,fan-tach-ch = /bits/ 8 <0x06>;
- };
- fan@7 {
- reg = <0x03>;
- aspeed,fan-tach-ch = /bits/ 8 <0x07>;
- };
- };
- &i2c1mux {
- i2c@0 {
- reg = <0>;
- #address-cells = <1>;
- #size-cells = <0>;
- /* Memory Riser 1 FRU */
- eeprom@50 {
- compatible = "atmel,24c02";
- reg = <0x50>;
- };
- /* Memory Riser 2 FRU */
- eeprom@51 {
- compatible = "atmel,24c02";
- reg = <0x51>;
- };
- /* Memory Riser 3 FRU */
- eeprom@52 {
- compatible = "atmel,24c02";
- reg = <0x52>;
- };
- /* Memory Riser 4 FRU */
- eeprom@53 {
- compatible = "atmel,24c02";
- reg = <0x53>;
- };
- };
- i2c@1 {
- reg = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- /* Memory Riser 5 FRU */
- eeprom@50 {
- compatible = "atmel,24c02";
- reg = <0x50>;
- };
- /* Memory Riser 6 FRU */
- eeprom@51 {
- compatible = "atmel,24c02";
- reg = <0x51>;
- };
- /* Memory Riser 7 FRU */
- eeprom@52 {
- compatible = "atmel,24c02";
- reg = <0x52>;
- };
- /* Memory Riser 8 FRU */
- eeprom@53 {
- compatible = "atmel,24c02";
- reg = <0x53>;
- };
- };
- };
|