/dts-v1/; #include "aspeed-g5.dtsi" #include / { model = "Talos™ II BMC"; compatible = "rcs,talos-bmc", "aspeed,ast2500"; chosen { stdout-path = &uart5; bootargs = "console=ttyS4,115200 earlyprintk"; }; memory { reg = <0x80000000 0x20000000>; }; reserved-memory { #address-cells = <1>; #size-cells = <1>; ranges; vga_memory: framebuffer@bf000000 { no-map; reg = <0xbf000000 0x01000000>; /* 16M */ }; flash_memory: region@98000000 { no-map; reg = <0x98000000 0x04000000>; /* 64M */ }; }; leds { compatible = "gpio-leds"; fault { gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>; }; identify { gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_HIGH>; }; power { gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>; }; bmc_ready { gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>; }; bmc_beep { gpios = <&gpio ASPEED_GPIO(N, 7) GPIO_ACTIVE_LOW>; }; }; fsi: gpio-fsi { compatible = "fsi-master-gpio", "fsi-master"; #address-cells = <2>; #size-cells = <0>; clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>; data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>; mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>; enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>; trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>; }; gpio-keys { compatible = "gpio-keys"; checkstop { label = "checkstop"; gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; linux,code = ; }; }; }; #include "ibm-power9-cfam.dtsi" &pwm_tacho { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>; /* System fan 5 */ fan@1 { reg = <0x01>; aspeed,fan-tach-ch = /bits/ 8 <0x0e>; }; }; &fmc { status = "okay"; flash@0 { status = "okay"; m25p,fast-read; label = "bmc"; #include "openbmc-flash-layout.dtsi" }; }; &spi1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_spi1_default>; flash@0 { status = "okay"; label = "pnor"; m25p,fast-read; }; }; &lpc_ctrl { status = "okay"; memory-region = <&flash_memory>; flash = <&spi1>; }; &mbox { status = "okay"; }; &uart1 { /* Rear RS-232 connector */ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_txd1_default &pinctrl_rxd1_default &pinctrl_nrts1_default &pinctrl_ndtr1_default &pinctrl_ndsr1_default &pinctrl_ncts1_default &pinctrl_ndcd1_default &pinctrl_nri1_default>; }; &uart5 { status = "okay"; }; &mac0 { status = "okay"; use-ncsi; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rmii1_default>; }; &i2c0 { status = "disabled"; }; &i2c1 { status = "okay"; /* CPU1 */ }; &i2c2 { /* FSI Mux */ status = "okay"; }; &i2c3 { status = "okay"; /* Clock chip */ }; &i2c4 { status = "okay"; /* Voltage regulators: * CPU0 VDD/VCS * CPU0 VDN/VIO * CPU0 VDDR A * CPU0 VDDR B */ }; &i2c5 { status = "okay"; /* Voltage regulators: * CPU1 VDD/VCS * CPU1 VDN/VIO * CPU1 VDDR A * CPU1 VDDR B */ }; &i2c6 { /* PCIe slot 1 (x8) */ status = "okay"; }; &i2c7 { /* PCIe slot 2 (x16) */ status = "okay"; }; &i2c8 { /* PCIe slot 3 (x16) */ status = "okay"; }; &i2c9 { /* PCIe slot 4 (x16) */ status = "okay"; }; &i2c10 { /* PCIe slot 5 (x8) */ status = "okay"; }; &i2c11 { status = "okay"; rtc@32 { compatible = "epson,rx8900"; reg = <0x32>; }; /* TPM */ }; &i2c12 { status = "okay"; bus-frequency = <10000>; /* Primary Fan Controller */ max31785@52 { compatible = "max,max31785"; reg = <0x52>; #address-cells = <1>; #size-cells = <0>; /* System fan 1 */ fan@0 { compatible = "pmbus-fan"; reg = <0>; tach-pulses = <1>; maxim,fan-rotor-input = "tach"; maxim,fan-mode = "pwm"; maxim,fan-pwm-freq = <25000>; maxim,fan-no-watchdog; maxim,fan-no-fault-ramp; maxim,tmp-no-fault-ramp; maxim,fan-ramp = <5>; maxim,fan-fault-pin-mon; }; /* System fan 2 */ fan@1 { compatible = "pmbus-fan"; reg = <1>; tach-pulses = <1>; maxim,fan-rotor-input = "tach"; maxim,fan-mode = "pwm"; maxim,fan-pwm-freq = <25000>; maxim,fan-no-watchdog; maxim,fan-no-fault-ramp; maxim,tmp-no-fault-ramp; maxim,fan-ramp = <5>; maxim,fan-fault-pin-mon; }; /* System fan 3 */ fan@2 { compatible = "pmbus-fan"; reg = <2>; tach-pulses = <1>; maxim,fan-rotor-input = "tach"; maxim,fan-mode = "pwm"; maxim,fan-pwm-freq = <25000>; maxim,fan-no-watchdog; maxim,fan-no-fault-ramp; maxim,tmp-no-fault-ramp; maxim,fan-ramp = <5>; maxim,fan-fault-pin-mon; }; /* System fan 4 */ fan@3 { compatible = "pmbus-fan"; reg = <3>; tach-pulses = <1>; maxim,fan-rotor-input = "tach"; maxim,fan-mode = "pwm"; maxim,fan-pwm-freq = <25000>; maxim,fan-no-watchdog; maxim,fan-no-fault-ramp; maxim,tmp-no-fault-ramp; maxim,fan-ramp = <5>; maxim,fan-fault-pin-mon; }; /* CPU 0 fan 0 */ fan@4 { compatible = "pmbus-fan"; reg = <4>; tach-pulses = <1>; maxim,fan-rotor-input = "tach"; maxim,fan-mode = "pwm"; maxim,fan-pwm-freq = <25000>; maxim,fan-no-watchdog; maxim,fan-no-fault-ramp; maxim,tmp-no-fault-ramp; maxim,fan-ramp = <5>; maxim,fan-fault-pin-mon; }; /* CPU 1 fan 0 */ fan@5 { compatible = "pmbus-fan"; reg = <5>; tach-pulses = <1>; maxim,fan-rotor-input = "tach"; maxim,fan-mode = "pwm"; maxim,fan-pwm-freq = <25000>; maxim,fan-no-watchdog; maxim,fan-no-fault-ramp; maxim,tmp-no-fault-ramp; maxim,fan-ramp = <5>; maxim,fan-fault-pin-mon; }; }; /* FPGA */ /* Power Supply */ /* Temp Sensor */ w83773g@4c { compatible = "nuvoton,w83773g"; reg = <0x4c>; }; }; &i2c13 { status = "disabled"; }; &gpio { nic_func_mode0 { gpio-hog; gpios = ; output-low; line-name = "nic_func_mode0"; }; nic_func_mode1 { gpio-hog; gpios = ; output-low; line-name = "nic_func_mode1"; }; }; &vuart { status = "okay"; }; &gfx { status = "okay"; }; &pinctrl { aspeed,external-nodes = <&gfx &lhc>; }; &ibt { status = "okay"; };