Simon Glass | 1369d47 | 2021-03-21 16:50:07 +1300 | [diff] [blame^] | 1 | Google Coral sysinfo information |
| 2 | ================================ |
| 3 | |
| 4 | This binding allows information about the board to be described. It includes |
| 5 | the SMBIOS binding as well. |
| 6 | |
| 7 | Required properties: |
| 8 | |
| 9 | - compatible: "google,coral" |
| 10 | - recovery-gpios: GPIO to use for recovery button (-1 if none) |
| 11 | - wite-protect-gpios: GPIO to use for write-protect screw |
| 12 | - phase-enforce-gpios: GPIO to indicate the board is in final ship mode |
| 13 | - memconfig-gpios: 4 GPIOs to use to read memory config (as base2 int) |
| 14 | |
| 15 | Optional properties: |
| 16 | - skuconfig-gpios: 2 GPIOs to use to read SKU ID. If not present, the |
| 17 | Chromium OS EC SKU_ID is used instead |
| 18 | |
| 19 | Example: |
| 20 | |
| 21 | board: board { |
| 22 | compatible = "google,coral"; |
| 23 | recovery-gpios = <&gpio_nw (-1) GPIO_ACTIVE_LOW>; |
| 24 | write-protect-gpios = <&gpio_nw GPIO_75 GPIO_ACTIVE_HIGH>; |
| 25 | phase-enforce-gpios = <&gpio_n GPIO_10 GPIO_ACTIVE_HIGH>; |
| 26 | memconfig-gpios = <&gpio_nw GPIO_101 GPIO_ACTIVE_HIGH |
| 27 | &gpio_nw GPIO_102 GPIO_ACTIVE_HIGH |
| 28 | &gpio_n GPIO_38 GPIO_ACTIVE_HIGH |
| 29 | &gpio_n GPIO_45 GPIO_ACTIVE_HIGH>; |
| 30 | |
| 31 | /* |
| 32 | * This is used for reef only: |
| 33 | * |
| 34 | * skuconfig-gpios = <&gpio_nw GPIO_16 GPIO_ACTIVE_HIGH |
| 35 | * &gpio_nw GPIO_17 GPIO_ACTIVE_HIGH>; |
| 36 | */ |
| 37 | }; |