1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2019 Nuvoton Technology <kwliu@nuvoton.com>
3 // Copyright (c) 2019 Quanta Computer Inc. <Samuel.Jiang@quantatw.com>
6 #include "nuvoton-npcm750.dtsi"
7 #include "nuvoton-npcm750-runbmc-olympus-pincfg.dtsi"
9 #include <dt-bindings/i2c/i2c.h>
10 #include <dt-bindings/gpio/gpio.h>
13 model = "Nuvoton npcm750 RunBMC Olympus";
14 compatible = "nuvoton,npcm750";
43 stdout-path = &serial3;
51 compatible = "iio-hwmon";
52 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
53 <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
57 compatible = "gpio-leds";
60 gpios = <&gpio3 14 1>;
65 gpios = <&gpio3 15 1>;
70 compatible = "nuvoton,npcm750-jtag";
71 enable_pspi_jtag = <1>;
75 gpios = <&gpio0 19 0>; /* gpio19 */
76 regbase = <0xf0010000 0x1000>;
81 gpios = <&gpio0 18 0>; /* gpio18 */
82 regbase = <0xf0010000 0x1000>;
87 gpios = <&gpio0 17 0>; /* gpio17 */
88 regbase = <0xf0010000 0x1000>;
92 gpios = <&gpio0 16 0>; /* gpio16 */
93 regbase = <0xf0010000 0x1000>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&spi0cs1_pins>;
104 compatible = "jedec,spi-nor";
105 #address-cells = <1>;
108 spi-rx-bus-width = <2>;
110 partitions@80000000 {
111 compatible = "fixed-partitions";
112 #address-cells = <1>;
116 reg = <0x000000 0x2000000>;
120 reg = <0x0000000 0x80000>;
124 label = "u-boot-env";
125 reg = <0x00100000 0x40000>;
129 reg = <0x0200000 0x600000>;
133 reg = <0x800000 0x1500000>;
137 reg = <0x1d00000 0x300000>;
143 compatible = "jedec,spi-nor";
144 #address-cells = <1>;
147 npcm,fiu-rx-bus-width = <2>;
149 partitions@88000000 {
150 compatible = "fixed-partitions";
151 #address-cells = <1>;
154 label = "spi0-cs1-spare1";
155 reg = <0x0 0x800000>;
158 label = "spi0-cs1-spare2";
159 reg = <0x800000 0x0>;
166 pinctrl-0 = <&spi3_pins>;
170 compatible = "jedec,spi-nor";
171 #address-cells = <1>;
174 spi-rx-bus-width = <2>;
176 partitions@A0000000 {
177 compatible = "fixed-partitions";
178 #address-cells = <1>;
181 label = "spi3-system1";
182 reg = <0x0 0x800000>;
185 label = "spi3-system2";
186 reg = <0x800000 0x0>;
194 compatible = "mmio-mux";
195 #mux-control-cells = <1>;
197 mux-reg-masks = <0x38 0x07>;
203 phy-mode = "rgmii-id";
204 snps,eee-force-disable;
212 compatible = "nxp,pca9548";
213 #address-cells = <1>;
216 i2c-mux-idle-disconnect;
218 i2c_slot1a: i2c-bus@0 {
219 #address-cells = <1>;
224 i2c_slot1b: i2c-bus@1 {
225 #address-cells = <1>;
230 i2c_slot2a: i2c-bus@2 {
231 #address-cells = <1>;
236 i2c_slot2b: i2c-bus@3 {
237 #address-cells = <1>;
242 i2c_slot3: i2c-bus@4 {
243 #address-cells = <1>;
248 i2c_slot4: i2c-bus@5 {
249 #address-cells = <1>;
254 i2c_slot5: i2c-bus@6 {
255 #address-cells = <1>;
262 compatible = "nxp,pca9546";
264 #address-cells = <1>;
266 i2c-mux-idle-disconnect;
268 i2c_m2_s1: i2c-bus@0 {
269 #address-cells = <1>;
274 i2c_m2_s2: i2c-bus@1 {
275 #address-cells = <1>;
279 i2c_m2_s3: i2c-bus@2 {
280 #address-cells = <1>;
285 i2c_m2_s4: i2c-bus@3 {
286 #address-cells = <1>;
297 compatible = "ti,tmp421";
302 compatible = "delta,dps800";
315 compatible = "atmel,24c64";
323 i2c-slave-mqueue@10 {
324 compatible = "i2c-slave-mqueue";
325 reg = <(I2C_OWN_SLAVE_ADDRESS | 0x10)>;
333 compatible = "ti,ina219";
337 compatible = "ti,ina219";
341 compatible = "ti,ina219";
345 compatible = "ti,ina219";
349 compatible = "ti,tps53679";
353 compatible = "ti,tps53659";
357 compatible = "ti,tps53659";
361 compatible = "ti,tps53622";
365 compatible = "ti,tps53622";
369 compatible = "ti,tps53679";
373 compatible = "ti,tps53659";
377 compatible = "ti,tps53659";
381 compatible = "ti,tps53622";
390 compatible = "ti,tmp421";
399 compatible = "adm1278";
413 compatible = "nxp,pca9555";
424 pca9539_g1a: pca9539-g1a@74 {
425 compatible = "nxp,pca9539";
429 reset-gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
434 line-name = "TPM_BMC_ALERT_N";
440 line-name = "FM_BIOS_TOP_SWAP";
446 line-name = "FM_BIOS_PREFRB2_GOOD";
452 line-name = "BMC_SATAXPCIE_0TO3_SEL";
458 line-name = "BMC_SATAXPCIE_4TO7_SEL";
464 line-name = "FM_UV_ADR_TRIGGER_EN_N";
470 line-name = "RM_THROTTLE_EN_N";
476 line-name = "FM_BMC_TPM_PRES_N";
482 line-name = "FM_CPU0_SKTOCC_LVT3_N";
488 line-name = "FM_CPU1_SKTOCC_LVT3_N";
494 line-name = "PSU1_ALERT_N";
500 line-name = "PSU2_ALERT_N";
506 line-name = "H_CPU0_FAST_WAKE_LVT3_N";
512 line-name = "I2C_MUX1_RESET_N";
518 line-name = "FM_CPU_CATERR_LVT3_N";
522 pca9539_g1b: pca9539-g1b@75 {
523 compatible = "nxp,pca9539";
531 line-name = "PVDDQ_ABC_PINALERT_N";
537 line-name = "PVDDQ_DEF_PINALERT_N";
543 line-name = "PVDDQ_GHJ_PINALERT_N";
549 line-name = "PVDDQ_KLM_PINALERT_N";
555 line-name = "FM_BOARD_REV_ID0";
561 line-name = "FM_BOARD_REV_ID1";
567 line-name = "FM_BOARD_REV_ID2";
573 line-name = "FM_OC_DETECT_EN_N";
579 line-name = "FM_FLASH_DESC_OVERRIDE";
585 line-name = "FP_PWR_ID_LED_N";
591 line-name = "BMC_LED_PWR_GRN";
597 line-name = "BMC_LED_PWR_AMBER";
603 line-name = "FM_BMC_FAULT_LED_N";
609 line-name = "FM_CPLD_BMC_PWRDN_N";
615 line-name = "BMC_LED_CATERR_N";
623 pca9539_g2a: pca9539-g2a@74 {
624 compatible = "nxp,pca9539";
628 reset-gpios = <&gpio5 28 GPIO_ACTIVE_LOW>;
633 line-name = "BMC_PON_RST_REQ_N";
639 line-name = "BMC_RST_IND_REQ_N";
645 line-name = "RST_BMC_RTCRST";
651 line-name = "FM_BMC_PWRBTN_OUT_N";
657 line-name = "RST_BMC_SYSRST_BTN_OUT_N";
663 line-name = "FM_BATTERY_SENSE_EN_N";
669 line-name = "FM_BMC_READY_N";
675 line-name = "IRQ_BMC_PCH_SMI_LPC_N";
681 line-name = "FM_SLOT4_CFG0";
687 line-name = "FM_SLOT4_CFG1";
693 line-name = "FM_NVDIMM_EVENT_N";
699 line-name = "PSU1_BLADE_EN_N";
705 line-name = "BMC_PCH_FNM";
711 line-name = "FM_SOL_UART_CH_SEL";
717 line-name = "FM_BIOS_POST_CMPLT_N";
721 pca9539_g2b: pca9539-g2b@75 {
722 compatible = "nxp,pca9539";
730 line-name = "FM_CPU_MSMI_LVT3_N";
736 line-name = "FM_BIOS_MRC_DEBUG_MSG_DIS";
742 line-name = "FM_CPU1_DISABLE_BMC_N";
748 line-name = "BMC_JTAG_SELECT";
754 line-name = "PECI_MUX_SELECT";
760 line-name = "I2C_MUX2_RESET_N";
766 line-name = "FM_BMC_CPLD_PSU2_ON";
772 line-name = "PSU2_ALERT_EN_N";
778 line-name = "FM_CPU_BMC_INIT";
784 line-name = "IRQ_BMC_PCH_SCI_LPC_N";
790 line-name = "PMB_ALERT_EN_N";
796 line-name = "FM_FAST_PROCHOT_EN_N";
802 line-name = "BMC_NVDIMM_PRSNT_N";
808 line-name = "FM_BACKUP_BIOS_SEL_H_BMC";
814 line-name = "FM_PWRBRK_N";
823 compatible = "ti,tmp75";
828 compatible = "atmel,24c128";
836 pinctrl-names = "default";
837 pinctrl-0 = < &pwm0_pins &pwm1_pins
838 &fanin0_pins &fanin1_pins
839 &fanin2_pins &fanin3_pins
840 &fanin4_pins &fanin5_pins
841 &fanin6_pins &fanin7_pins
842 &fanin8_pins &fanin9_pins
843 &fanin10_pins &fanin11_pins>;
848 fan-tach-ch = /bits/ 8 <0x00 0x01>;
849 cooling-levels = <127 255>;
853 fan-tach-ch = /bits/ 8 <0x02 0x03>;
854 cooling-levels = /bits/ 8 <127 255>;
858 fan-tach-ch = /bits/ 8 <0x04 0x05>;
859 cooling-levels = /bits/ 8 <127 255>;
863 fan-tach-ch = /bits/ 8 <0x06 0x07>;
864 cooling-levels = /bits/ 8 <127 255>;
868 fan-tach-ch = /bits/ 8 <0x08 0x09>;
869 cooling-levels = /bits/ 8 <127 255>;
873 fan-tach-ch = /bits/ 8 <0x0A 0x0B>;
874 cooling-levels = /bits/ 8 <127 255>;
878 fan-tach-ch = /bits/ 8 <0x0C 0x0D>;
879 cooling-levels = /bits/ 8 <127 255>;
883 fan-tach-ch = /bits/ 8 <0x0E 0x0F>;
884 cooling-levels = /bits/ 8 <127 255>;
917 #io-channel-cells = <1>;
934 cs-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
943 pinctrl-names = "default";
945 /******* RunBMC inside Module pins *******/
975 /******* RunBMC outside Connector pins *******/