1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ 2f126890aSEmmanuel Vadot// Copyright (C) 2021 YADRO 3f126890aSEmmanuel Vadot/dts-v1/; 4f126890aSEmmanuel Vadot 5f126890aSEmmanuel Vadot#include "aspeed-bmc-vegman.dtsi" 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot/ { 8f126890aSEmmanuel Vadot model = "YADRO VEGMAN N110 BMC"; 9f126890aSEmmanuel Vadot compatible = "yadro,vegman-n110-bmc", "aspeed,ast2500"; 10f126890aSEmmanuel Vadot}; 11f126890aSEmmanuel Vadot 12f126890aSEmmanuel Vadot&gpio { 13f126890aSEmmanuel Vadot status = "okay"; 14f126890aSEmmanuel Vadot gpio-line-names = 15f126890aSEmmanuel Vadot /*A0-A7*/ "CHASSIS_INTRUSION","CASE_OPEN_FAULT_RST","","","SPEAKER_BMC","FM_FORCE_BMC_UPDATE","","", 16f126890aSEmmanuel Vadot /*B0-B7*/ "","","","","","","","", 17f126890aSEmmanuel Vadot /*C0-C7*/ "","","","","","","","", 18f126890aSEmmanuel Vadot /*D0-D7*/ "","","","","","","","", 19f126890aSEmmanuel Vadot /*E0-E7*/ "RESET_BUTTON","RESET_OUT","POWER_BUTTON","POWER_OUT","","","","", 20f126890aSEmmanuel Vadot /*F0-F7*/ "NMI_OUT","PCIE_NIC_ALERT","","","SKT0_FAULT_LED","","RST_RGMII_PHYRST_DNP","", 21f126890aSEmmanuel Vadot /*G0-G7*/ "CPU_ERR2","CPU_CATERR","PCH_BMC_THERMTRIP","","IRQ_NMI_EVENT","","","", 22f126890aSEmmanuel Vadot /*H0-H7*/ "PWRGD_P3V3_RISER1","PWRGD_P3V3_RISER2","PWRGD_P3V3_RISER3","","MIO_BIOS_SEL","_SPI_FLASH_HOLD","_SPI_FLASH_WP","FM_240VA_STATUS", 23f126890aSEmmanuel Vadot /*I0-I7*/ "","","","","","","","", 24f126890aSEmmanuel Vadot /*J0-J7*/ "","","","","","","","", 25f126890aSEmmanuel Vadot /*K0-K7*/ "","","","","","","","", 26f126890aSEmmanuel Vadot /*L0-L7*/ "","","","","","","","", 27f126890aSEmmanuel Vadot /*M0-M7*/ "","","","","","","","", 28f126890aSEmmanuel Vadot /*N0-N7*/ "","","","","","","","", 29f126890aSEmmanuel Vadot /*O0-O7*/ "","","","","","","","_SPI2_BMC_CS_SEL", 30f126890aSEmmanuel Vadot /*P0-P7*/ "","","","","","","","", 31f126890aSEmmanuel Vadot /*Q0-Q7*/ "","","","","","","","", 32f126890aSEmmanuel Vadot /*R0-R7*/ "_SPI_RMM4_LITE_CS","","","","","","","", 33f126890aSEmmanuel Vadot /*S0-S7*/ "_SPI2_BMC_CS1","","","IRQ_SML0_ALERT_MUX","FP_LED_STATUS_GREEN","FP_LED_STATUS_AMBER","FP_ID_LED","", 34f126890aSEmmanuel Vadot /*T0-T7*/ "","","","","","","","", 35f126890aSEmmanuel Vadot /*U0-U7*/ "","","","","","","","", 36f126890aSEmmanuel Vadot /*V0-V7*/ "","","","","","","","", 37f126890aSEmmanuel Vadot /*W0-W7*/ "","","","","","","","", 38f126890aSEmmanuel Vadot /*X0-X7*/ "","","","","","","","", 39f126890aSEmmanuel Vadot /*Y0-Y7*/ "SIO_S3","SIO_S5","","SIO_ONCONTROL","","","","", 40f126890aSEmmanuel Vadot /*Z0-Z7*/ "FM_BMC_PWR_BTN","SIO_POWER_GOOD","FM_BMC_PWRBTN_OUT","FM_BMC_PCH_SCI_LPC","","","","", 41f126890aSEmmanuel Vadot /*AA0-AA7*/ "","IRQ_SML1_PMBUS_ALERT","FM_PVCCIN_CPU0_PWR_IN_ALERT","FM_PVCCIN_CPU1_PWR_IN_ALERT","BMC_SYS_PWR_FAULT","BMC_SYS_PWR_OK","SMI","POST_COMPLETE", 42f126890aSEmmanuel Vadot /*AB0-AB7*/ "FM_CPU_BMCINIT","NMI_BUTTON","ID_BUTTON","PS_PWROK","","","","", 43f126890aSEmmanuel Vadot /*AC0-AC7*/ "","","","","","","",""; 44f126890aSEmmanuel Vadot}; 45f126890aSEmmanuel Vadot 46f126890aSEmmanuel Vadot&sgpio { 47f126890aSEmmanuel Vadot ngpios = <80>; 48f126890aSEmmanuel Vadot bus-frequency = <2000000>; 49f126890aSEmmanuel Vadot status = "okay"; 50f126890aSEmmanuel Vadot /* SGPIO lines. even: input, odd: output */ 51f126890aSEmmanuel Vadot gpio-line-names = 52f126890aSEmmanuel Vadot /*A0-A7*/ "CPU1_PRESENCE","","CPU1_THERMTRIP","","CPU1_VRHOT","","CPU1_FIVR_FAULT","","CPU1_MEM_ABCD_VRHOT","","CPU1_MEM_EFGH_VRHOT","","","","","", 53f126890aSEmmanuel Vadot /*B0-B7*/ "CPU1_MISMATCH","","CPU1_MEM_THERM_EVENT","","CPU2_PRESENCE","","CPU2_THERMTRIP","","CPU2_VRHOT","","CPU2_FIVR_FAULT","","CPU2_MEM_ABCD_VRHOT","","CPU2_MEM_EFGH_VRHOT","", 54f126890aSEmmanuel Vadot /*C0-C7*/ "","","","","CPU2_MISMATCH","","CPU2_MEM_THERM_EVENT","","","","","","","","","", 55f126890aSEmmanuel Vadot /*D0-D7*/ "","","","","","","","","","","","","","","","", 56f126890aSEmmanuel Vadot /*E0-E7*/ "","","","","","","","","","","","","","","","", 57f126890aSEmmanuel Vadot /*F0-F7*/ "SGPIO_PLD_MINOR_REV_BIT0","","SGPIO_PLD_MINOR_REV_BIT1","","SGPIO_PLD_MINOR_REV_BIT2","","SGPIO_PLD_MINOR_REV_BIT3","","SGPIO_PLD_MAJOR_REV_BIT0","","SGPIO_PLD_MAJOR_REV_BIT1","","SGPIO_PLD_MAJOR_REV_BIT2","","SGPIO_PLD_MAJOR_REV_BIT3","", 58f126890aSEmmanuel Vadot /*G0-G7*/ "MAIN_PLD_MINOR_REV_BIT0","","MAIN_PLD_MINOR_REV_BIT1","","MAIN_PLD_MINOR_REV_BIT2","","MAIN_PLD_MINOR_REV_BIT3","","MAIN_PLD_MAJOR_REV_BIT0","","MAIN_PLD_MAJOR_REV_BIT1","","MAIN_PLD_MAJOR_REV_BIT2","","MAIN_PLD_MAJOR_REV_BIT3","", 59f126890aSEmmanuel Vadot /*H0-H7*/ "","","","","","","","","","","","","","","","", 60f126890aSEmmanuel Vadot /*I0-I7*/ "","","","","","","","","","","","","","","","", 61f126890aSEmmanuel Vadot /*J0-J7*/ "","","","","","","","","","","","","","","",""; 62f126890aSEmmanuel Vadot}; 63f126890aSEmmanuel Vadot 64f126890aSEmmanuel Vadot&i2c11 { 65f126890aSEmmanuel Vadot /* SMB_BMC_MGMT_LVC3 */ 66f126890aSEmmanuel Vadot gpio@21 { 67f126890aSEmmanuel Vadot compatible = "nxp,pcal9535"; 68f126890aSEmmanuel Vadot reg = <0x21>; 69f126890aSEmmanuel Vadot gpio-controller; 70f126890aSEmmanuel Vadot #gpio-cells = <2>; 71f126890aSEmmanuel Vadot gpio-line-names = 72f126890aSEmmanuel Vadot /*IO0.0-0.7*/ "", "", "", "", "", "", "PE_PCH_SCR_CLKREQ", "", 73f126890aSEmmanuel Vadot /*IO1.0-1.7*/ "", "PE_PCH_MEZ_PRSNT", "PE_PCH_MEZ_PRSNT_", "NIC_4_PE_PRSNT", "NIC_3_PE_PRSNT", "NIC_2_PE_PRSNT", "NIC_1_PE_PRSNT", ""; 74f126890aSEmmanuel Vadot }; 75f126890aSEmmanuel Vadot gpio@27 { 76f126890aSEmmanuel Vadot compatible = "nxp,pca9698"; 77f126890aSEmmanuel Vadot reg = <0x27>; 78f126890aSEmmanuel Vadot gpio-controller; 79f126890aSEmmanuel Vadot #gpio-cells = <2>; 80f126890aSEmmanuel Vadot gpio-line-names = 81f126890aSEmmanuel Vadot /*IO0.0-0.7*/ "PWRGD_PS_PWROK", "PWRGD_DSW_PWROK", "PWRGD_P5V_AUX", "PWRGD_P3V3_AUX", "PWRGD_P5V", "PWRGD_P3V3", "PWRGD_P1V8_PCH_AUX", "PWRGD_PCH_PVNN_AUX", 82f126890aSEmmanuel Vadot /*IO1.0-1.7*/ "PWRGD_P1V05_PCH_AUX", "PWRGD_PCH_AUX_VRS", "PWRGD_PVCCIN_CPU0", "PWRGD_PVCCSA_CPU0", "PWRGD_PVCCIO_CPU0", "PWRGD_PVMCP_CPU0", "PWRGD_P1V0_CPU0", "PWRGD_PVDDQ_ABC_CPU0", 83f126890aSEmmanuel Vadot /*IO2.0-2.7*/ "PWRGD_PVPP_ABC_CPU0", "PWRGD_PVTT_ABC_CPU0", "PWRGD_PVDDQ_DEF_CPU0", "PWRGD_PVPP_DEF_CPU0", "PWRGD_PVTT_DEF_CPU0", "", "", "", 84f126890aSEmmanuel Vadot /*IO3.0-3.7*/ "", "", "", "", "", "", "", "", 85f126890aSEmmanuel Vadot /*IO4.0-4.7*/ "", "", "", "", "", "", "", ""; 86f126890aSEmmanuel Vadot }; 87f126890aSEmmanuel Vadot}; 88f126890aSEmmanuel Vadot 89f126890aSEmmanuel Vadot&i2c13 { 90f126890aSEmmanuel Vadot /* SMB_PCIE2_STBY_LVC3 */ 91*aa1a8ff2SEmmanuel Vadot i2c-mux@71 { 92*aa1a8ff2SEmmanuel Vadot compatible = "nxp,pca9543"; 93*aa1a8ff2SEmmanuel Vadot reg = <0x71>; 94f126890aSEmmanuel Vadot #address-cells = <1>; 95f126890aSEmmanuel Vadot #size-cells = <0>; 96f126890aSEmmanuel Vadot i2c-mux-idle-disconnect; 97f126890aSEmmanuel Vadot }; 98*aa1a8ff2SEmmanuel Vadot i2c-mux@73 { 99*aa1a8ff2SEmmanuel Vadot compatible = "nxp,pca9545"; 100*aa1a8ff2SEmmanuel Vadot reg = <0x73>; 101f126890aSEmmanuel Vadot #address-cells = <1>; 102f126890aSEmmanuel Vadot #size-cells = <0>; 103f126890aSEmmanuel Vadot i2c-mux-idle-disconnect; 104f126890aSEmmanuel Vadot }; 105f126890aSEmmanuel Vadot}; 106f126890aSEmmanuel Vadot 107f126890aSEmmanuel Vadot&i2c2 { 108f126890aSEmmanuel Vadot /* SMB_PCIE_STBY_LVC3 */ 109*aa1a8ff2SEmmanuel Vadot i2c-mux@71 { 110f126890aSEmmanuel Vadot compatible = "nxp,pca9545"; 111f126890aSEmmanuel Vadot reg = <0x71>; 112f126890aSEmmanuel Vadot #address-cells = <1>; 113f126890aSEmmanuel Vadot #size-cells = <0>; 114f126890aSEmmanuel Vadot i2c-mux-idle-disconnect; 115f126890aSEmmanuel Vadot }; 116f126890aSEmmanuel Vadot}; 117f126890aSEmmanuel Vadot 118f126890aSEmmanuel Vadot&pwm_tacho { 119f126890aSEmmanuel Vadot status = "okay"; 120f126890aSEmmanuel Vadot pinctrl-names = "default"; 121f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default 122f126890aSEmmanuel Vadot &pinctrl_pwm2_default &pinctrl_pwm3_default 123f126890aSEmmanuel Vadot &pinctrl_pwm4_default &pinctrl_pwm5_default>; 124f126890aSEmmanuel Vadot 125f126890aSEmmanuel Vadot fan@0 { 126f126890aSEmmanuel Vadot reg = <0x00>; 127f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x00 0x06>; 128f126890aSEmmanuel Vadot }; 129f126890aSEmmanuel Vadot fan@1 { 130f126890aSEmmanuel Vadot reg = <0x01>; 131f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x01 0x08>; 132f126890aSEmmanuel Vadot }; 133f126890aSEmmanuel Vadot fan@2 { 134f126890aSEmmanuel Vadot reg = <0x02>; 135f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x02 0x09>; 136f126890aSEmmanuel Vadot }; 137f126890aSEmmanuel Vadot fan@3 { 138f126890aSEmmanuel Vadot reg = <0x03>; 139f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x03 0x0A>; 140f126890aSEmmanuel Vadot }; 141f126890aSEmmanuel Vadot fan@4 { 142f126890aSEmmanuel Vadot reg = <0x04>; 143f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x04 0x0B>; 144f126890aSEmmanuel Vadot }; 145f126890aSEmmanuel Vadot fan@5 { 146f126890aSEmmanuel Vadot reg = <0x05>; 147f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x05>; 148f126890aSEmmanuel Vadot }; 149f126890aSEmmanuel Vadot}; 150