Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed: mtjade: Add PSU support

Enable PSU support on Ampere's Mt. Jade BMC.

Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
Signed-off-by: Phong Vo <phong@os.amperecomputing.com>
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20210517040036.13667-3-quan@os.amperecomputing.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Quan Nguyen and committed by
Joel Stanley
73a89a96 9e8cf4b4

+40 -2
+40 -2
arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
··· 110 110 linux,code = <ASPEED_GPIO(Q, 5)>; 111 111 }; 112 112 113 + psu1_vin_good { 114 + label = "PSU1_VIN_GOOD"; 115 + gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>; 116 + linux,code = <ASPEED_GPIO(H, 4)>; 117 + }; 118 + 119 + psu2_vin_good { 120 + label = "PSU2_VIN_GOOD"; 121 + gpios = <&gpio ASPEED_GPIO(H, 5) GPIO_ACTIVE_LOW>; 122 + linux,code = <ASPEED_GPIO(H, 5)>; 123 + }; 124 + 125 + psu1_present { 126 + label = "PSU1_PRESENT"; 127 + gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; 128 + linux,code = <ASPEED_GPIO(I, 0)>; 129 + }; 130 + 131 + psu2_present { 132 + label = "PSU2_PRESENT"; 133 + gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>; 134 + linux,code = <ASPEED_GPIO(I, 1)>; 135 + }; 136 + 113 137 }; 114 138 115 139 gpioA0mux: mux-controller { ··· 460 436 status = "okay"; 461 437 }; 462 438 439 + &i2c10 { 440 + status = "okay"; 441 + adm1278@10 { 442 + compatible = "adi,adm1278"; 443 + reg = <0x10>; 444 + }; 445 + 446 + adm1278@11 { 447 + compatible = "adi,adm1278"; 448 + reg = <0x11>; 449 + }; 450 + }; 451 + 463 452 &gfx { 464 453 status = "okay"; 465 454 memory-region = <&gfx_memory>; ··· 576 539 "S1_DDR_SAVE","","", 577 540 /*G0-G7*/ "S0_FW_BOOT_OK","SHD_REQ_L","","S0_OVERTEMP_L","","", 578 541 "","", 579 - /*H0-H7*/ "","","","","","","","", 580 - /*I0-I7*/ "","","S1_BMC_SPECIAL_BOOT","","","","","", 542 + /*H0-H7*/ "","","","","PSU1_VIN_GOOD","PSU2_VIN_GOOD","","", 543 + /*I0-I7*/ "PSU1_PRESENT","PSU2_PRESENT","S1_BMC_SPECIAL_BOOT", 544 + "","","","","", 581 545 /*J0-J7*/ "S0_HIGHTEMP_L","S0_FAULT_L","S0_SCP_AUTH_FAIL_L","", 582 546 "","","","", 583 547 /*K0-K7*/ "","","","","","","","",