Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47191 )
Change subject: mb/purism/librem_mini: Set unused GPIO pads to PAD_NC ......................................................................
Patch Set 3:
(71 comments)
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... File src/mainboard/purism/librem_cnl/variants/librem_mini/gpio.c:
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 31: GPIO drop or replace by NC; also for all other nc pads
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 32: PAD_NC(GPP_A7, NONE), ack
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 44: PAD_CFG_GPO(GPP_A11, 1, PLTRST), nc, up 20k
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 47: PAD_NC(GPP_A12, UP_20K), ack
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 50: PAD_CFG_GPO(GPP_A13, 1, PLTRST), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 56: PAD_CFG_GPO(GPP_A15, 1, PLTRST), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 59: PAD_NC(GPP_A16, UP_20K), ack
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 62: PAD_CFG_GPO(GPP_A17, 1, PLTRST), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 91: PAD_CFG_NF(GPP_B2, NONE, PLTRST, NF1), nc, up 20
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 94: PAD_CFG_GPO(GPP_B3, 1, PLTRST), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 97: PAD_CFG_GPO(GPP_B4, 1, DEEP), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 102: /* GPP_B6 - GPIO */ : PAD_NC(GPP_B6, NONE), : : /* GPP_B7 - GPIO */ : PAD_NC(GPP_B7, NONE), : : /* GPP_B8 - GPIO */ : PAD_NC(GPP_B8, NONE), : : /* GPP_B9 - GPIO */ : PAD_NC(GPP_B9, NONE), : in a separate commit:
/* GPP_B6 - SRCCLKREQ1# / SSD_CLK_REQ# */ PAD_CFG_NF(GPP_B6, NONE, DEEP, NF1),
/* GPP_B7 - SRCCLKREQ2# / WIFI_CLK_REQ# */ PAD_CFG_NF(GPP_B7, NONE, DEEP, NF1),
/* GPP_B8 - SRCCLKREQ3# / LAN2_CLK_REQ# */ PAD_CFG_NF(GPP_B8, NONE, DEEP, NF1),
/* GPP_B9 - SRCCLKREQ4# / LAN1_CLK_REQ# */ PAD_CFG_NF(GPP_B9, NONE, DEEP, NF1),
also then adapt the clkreq fsp settings accordingly
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 115: PAD_NC(GPP_B10, NONE), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 127: PAD_CFG_GPO(GPP_B14, 1, PLTRST), separate commit:
SPKR/NF1, DEEP
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 130: PAD_NC(GPP_B15, NONE), ack
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 135: /* GPP_B17 - GSPI0_MISO */ : PAD_CFG_NF(GPP_B17, NONE, PLTRST, NF1), : : /* GPP_B18 - GSPI0_MOSI */ : PAD_CFG_NF(GPP_B18, NONE, PLTRST, NF1), : : /* GPP_B19 - GSPI1_CS0# */ : PAD_CFG_NF(GPP_B19, NONE, PLTRST, NF1), : : /* GPP_B20 - GSPI1_CLK */ : PAD_CFG_NF(GPP_B20, NONE, PLTRST, NF1), : : /* GPP_B21 - GSPI1_MISO */ : PAD_CFG_NF(GPP_B21, NONE, PLTRST, NF1), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 151: PAD_CFG_NF(GPP_B22, NONE, PLTRST, NF1), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 154: PAD_CFG_GPO(GPP_B23, 1, DEEP), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 159: PAD_CFG_TERM_GPO(GPP_G0, 0, DN_20K, PWROK), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 164: /* GPP_G2 - GPIO */ : PAD_NC(GPP_G2, NONE), : : /* GPP_G3 - GPIO */ : PAD_NC(GPP_G3, NONE), : : /* GPP_G4 - GPIO */ : PAD_NC(GPP_G4, NONE), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 176: * GPP_G6 - GPIO */ : PAD_NC(GPP_G6, NONE), : nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 183: : /* GPP_D0 - GPIO */ : PAD_NC(GPP_D0, NONE), : : /* GPP_D1 - GPIO */ : PAD_NC(GPP_D1, NONE), : : /* GPP_D2 - GPIO */ : PAD_NC(GPP_D2, NONE), : : /* GPP_D3 - GPIO */ : PAD_NC(GPP_D3, NONE), : : /* GPP_D4 - GPIO */ : PAD_NC(GPP_D4, NONE), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 199: * GPP_D5 - ISH_I2C0_SDA */ : PAD_CFG_NF(GPP_D5, NONE, DEEP, NF1), : : /* GPP_D6 - ISH_I2C0_SCL */ : PAD_CFG_NF(GPP_D6, NONE, DEE nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 205: /* GPP_D7 - GPIO */ : PAD_CFG_GPO(GPP_D7 nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 209: PAD_NC(GPP_D8, NONE), ack
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 210: : /* GPP_D9 - GPIO */ : PAD_CFG_GPO(GPP_D9, 1, PLTRST), : : /* GPP_D10 - GPIO */ : PAD_CFG_GPO(GPP_D10, 1, PLTRST), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 217: /* GPP_D11 - GPIO */ : PAD_CFG_TERM_GPO(GPP_D11, 1, UP_20K, DEEP), : : /* GPP_D12 - GPIO */ : PAD_CFG_GPI_APIC(GPP_D12, UP_20K, DEEP, EDGE_SINGLE, NONE), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 223: /* GPP_D13 - GPIO */ : PAD_NC(GPP_D13, DN_20K), : : /* GPP_D14 - GPIO */ : PAD_NC(GPP_D14, DN_20K), ack
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 229: /* GPP_D15 - GPIO */ : PAD_CFG_GPO(GPP_D15, 1, PLTRST), : : /* GPP_D16 - GPIO */ : PAD_CFG_GPO(GPP_D16, 0, RSMRST), nc, up 20
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 235: /* GPP_D17 - DMIC_CLK1 */ : PAD_CFG_NF(GPP_D17, NONE, DEEP, NF1), : : /* GPP_D18 - DMIC_DATA1 */ : PAD_CFG_NF(GPP_D18, NONE, DEEP, NF1), : : /* GPP_D19 - DMIC_CLK0 */ : PAD_CFG_NF(GPP_D19, NONE, DEEP, NF1), : : /* GPP_D20 - DMIC_DATA0 */ : PAD_CFG_NF(GPP_D20, NONE, DEEP, NF1), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 247: /* GPP_D21 - GPIO */ : PAD_NC(GPP_D21, NONE), : : /* GPP_D22 - GPIO */ : PAD_NC(GPP_D22, NONE), : : /* GPP_D23 - GPIO */ : PAD_NC(GPP_D23, NONE), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 258: /* GPP_F0 - GPIO */ : PAD_NC(GPP_F0, NONE), : : /* GPP_F1 - GPIO */ : PAD_CFG_GPO(GPP_F1, 0, RSMRST), : : /* GPP_F2 - GPIO */ : PAD_CFG_TERM_GPO(GPP_F2, 1, UP_20K, PLTRST), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 270: /* GPP_F4 - CNV_BRI_DT */ : PAD_CFG_NF(GPP_F4, UP_20K, DEEP, NF1), : : /* GPP_F5 - CNV_BRI_RSP */ : PAD_CFG_NF(GPP_F5, UP_20K, DEEP, NF1), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 276: /* GPP_F6 - CNV_RGI_DT */ : PAD_CFG_NF(GPP_F6, UP_20K, DEEP, NF1), : : /* GPP_F7 - CNV_RGI_RSP */ : PAD_CFG_NF(GPP_F7, UP_20K, DEEP, NF1), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 282: /* GPP_F8 - GPIO */ : PAD_NC(GPP_F8, NONE), : : /* GPP_F9 - GPIO */ : PAD_NC(GPP_F9, NONE), : : /* GPP_F10 - GPIO */ : PAD_CFG_GPO(GPP_F10, 1, PLTRST), : : /* GPP_F11 - GPIO */ : PAD_NC(GPP_F11, NONE), : : /* GPP_F12 - GPIO */ : PAD_NC(GPP_F12, NONE), : : /* GPP_F13 - GPIO */ : PAD_NC(GPP_F13, NONE), : : /* GPP_F14 - GPIO */ : PAD_NC(GPP_F14, NONE), : : /* GPP_F15 - GPIO */ : PAD_NC(GPP_F15, NONE), : : /* GPP_F16 - GPIO */ : PAD_NC(GPP_F16, NONE), : : /* GPP_F17 - GPIO */ : PAD_NC(GPP_F17, NONE), : : /* GPP_F18 - GPIO */ : PAD_NC(GPP_F18, NONE), : : /* GPP_F19 - GPIO */ : PAD_NC(GPP_F19, NONE), : : /* GPP_F20 - GPIO */ : PAD_NC(GPP_F20, NONE), : : /* GPP_F21 - GPIO */ : PAD_NC(GPP_F21, NONE), : : /* GPP_F22 - GPIO */ : PAD_NC(GPP_F22, NONE), : : /* GPP_F23 - A4WP_PRESENT */ : PAD_CFG_NF(GPP_F23, DN_20K, DEEP, NF1), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 334: : /* GPP_H1 - CNV_RF_RESET# */ : PAD_CFG_NF(GPP_H1, UP_20K, D wired statically -> nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 337: : /* GPP_H2 - MODEM_CLKREQ */ : PAD_CFG_NF(GPP_H2, UP_20K, DEEP, N same as h0, nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 344: * GPP_H4 - GPIO */ : PAD_NC(GPP_H4, NONE), : : /* GPP_H5 - GPIO */ : PAD_NC(GPP_H5, NONE), nc, up 20
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 362: GPP_H10 - I2C5_SDA */ : PAD_CFG_NF(GPP_H10, NONE, PLTRST, NF1), : : /* GPP_H11 - I2C5_SCL */ : PAD_CFG_NF(GPP_H11, NONE, PLTRST, NF1), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 369: D_NC(GPP_H12, UP_20K), : : /* GPP_H13 - GPIO */ : PAD_NC(GPP_H13, UP_20K), : : /* GPP_H14 - GPIO */ : PAD_NC(GPP_H14, UP_20K), : : /* GPP_H15 - GPIO */ : PAD_NC(GPP_H15, UP_20K), : : /* GPP_H16 - GPIO */ : PAD_NC(GPP_H16, UP_20K), : : /* GPP_H17 - GPIO */ : PAD_NC(GPP_H17, UP_20K), ack
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 387: PAD_CFG_NF(GPP_H18, NONE, DEEP, NF1), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 389: /* GPP_H19 - GPIO */ : PAD_CFG_GPO(GPP_H19, 1, PLTRST), : : /* GPP_H20 - GPIO */ : PAD_NC(GPP_H20, NONE), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 399: PAD_CFG_GPO(GPP_H22, 1, PLTRST), nc 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 402: PAD_CFG_GPO(GPP_H23, 0, DEEP), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 413: PAD_CFG_NF(GPD2, NATIVE, DEEP, NF1), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 425: PAD_CFG_NF(GPD6, NONE, DEEP, NF1), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 428: PAD_CFG_GPO(GPD7, 0, DEEP), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 434: PAD_CFG_NF(GPD9, NONE, DEEP, NF1), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 437: PAD_CFG_NF(GPD10, NONE, DEEP, NF1), nc 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 440: PAD_CFG_NF(GPD11, NONE, DEEP, NF1), nc 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 451: PAD_CFG_GPO(GPP_C2, 1, DEEP), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 454: PAD_CFG_NF(GPP_C3, NONE, DEEP, NF1), : : /* GPP_C4 - SML0DATA */ : PAD_CFG_NF(GPP_C4, NONE, DEEP, NF1), : nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 460: PAD_CFG_GPO(GPP_C5, 1, PLTRST), nc, up 20
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 469: PAD_CFG_GPO(GPP_C8, 1, PLTRST), : : /* GPP_C9 - GPIO */ : PAD_CFG_GPO(GPP_C9, 1, PLTRST), : could be configured as uart on R26 (TX), R206 (RX) - or NC, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 474: /* GPP_C10 - GPIO */ : PAD_CFG_GPO(GPP_C10, 0, PLTRST), : : /* GPP_C11 - GPIO */ : PAD_CFG_GPI_APIC(GPP_C11, NONE, DEEP, LEVEL, NONE), : : /* GPP_C12 - UART1_RXD */ : PAD_CFG_NF(GPP_C12, NONE, PLTRST, NF1), : : /* GPP_C13 - UART1_TXD */ : PAD_CFG_NF(GPP_C13, NONE, DEEP, NF1), : : /* GPP_C14 - UART1_RTS# */ : PAD_CFG_NF(GPP_C14, NONE, DEEP, NF1), : : /* GPP_C15 - UART1_CTS# */ : PAD_CFG_NF(GPP_C15, NONE, PLTRST, NF1), all nc, up 20
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 493: AD_CFG_NF(GPP_C16, NONE, PLTRST, NF1), : : /* GPP_C17 - I2C0_SCL */ : PAD_CFG_NF(GPP_C17, NONE, PLTRST, nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 498: P_C18 - I2C1_SDA */ : PAD_CFG_NF(GPP_C18, NONE, DEEP, NF1), : : /* GPP_C19 - I2C1_SCL */ : PAD_CFG_NF(GPP_C19, NONE, nc, up 20
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 504: 20 - GPIO */ : PAD_NC(GPP_C20, NONE), : : /* GPP_C21 - GPIO */ : PAD_NC(GPP_C21, NONE), could be configured as uart with R653 (TX), R654 (RX) - or NC, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 510: GPIO USB3_P1_PWREN
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 513: PP_C23 - GPIO */ : PAD_CFG_GPI_APIC(GPP_C23, DN_20K, DEEP, LEVEL, NO nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 518: PP_E0 - GPIO */ : PAD_NC(GPP_E0, NONE), : : /* GPP_E1 - GPIO */ : PAD_NC(GPP_E1, NONE), nc, 20 up
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 528: PAD_CFG_GPI_SMI(GPP_E3, NONE, nc,up 20
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 531: PAD_CFG_GPO(GPP_E4, 1, PLTRST), nf1 / devlsp0
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 533: GPP_E5 - GPIO */ : PAD_NC(GPP_E5, NONE), : : /* GPP_E6 - GPIO */ : PAD_NC(GPP_E6, NONE), nc, up 20
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 540: G_GPI_TRIG_OWN(GPP_E7, NONE, PLTRST, EDGE_SINGLE, ACPI), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 545: PP_E9 - RESERVED */ : PAD_CFG_NF(GPP_E9, NONE, DEEP, NF5), : : /* GPP_E10 - RESERVED */ : PAD_CFG_NF(GPP_E10, NONE, DEEP, NF5), lolwat. NF5.
-> both NF1 / USB_OC
different commit, please. also adapt oc mapping in dt
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 564: _GPO(GPP_E15, 1, nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 570: PAD_CFG_NF(GPP_E17, NONE, DEEP, NF1), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 578: /* GPP_E20 - DPPC_CTRLCLK */ : PAD_CFG_NF(GPP_E20, NONE, DEEP, NF1), : : /* GPP_E21 - DPPC_CTRLDATA */ : PAD_CFG_NF(GPP_E21, NONE, DEEP, NF1), nc, none
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 585: PAD_CFG_NF(GPP_E22, NONE, PLTRST, NF1), nc, up 20
https://review.coreboot.org/c/coreboot/+/47191/3/src/mainboard/purism/librem... PS3, Line 588: PAD_CFG_NF(GPP_E23, NONE, PLTRST, NF1), nc, none