Tim Harvey | 7e0bfc6 | 2023-08-15 15:01:12 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2023 Gateworks Corporation |
| 4 | */ |
| 5 | #include "imx8mp-venice-gw702x-u-boot.dtsi" |
| 6 | |
Tim Harvey | 18b5d7d | 2023-11-27 11:37:23 -0800 | [diff] [blame] | 7 | &gpio1 { |
| 8 | tpm_rst { |
| 9 | gpio-hog; |
| 10 | output-high; |
| 11 | gpios = <11 GPIO_ACTIVE_HIGH>; |
| 12 | line-name = "tpm_rst#"; |
| 13 | }; |
| 14 | }; |
| 15 | |
Tim Harvey | 7e0bfc6 | 2023-08-15 15:01:12 -0700 | [diff] [blame] | 16 | &gpio4 { |
| 17 | dio_1 { |
| 18 | gpio-hog; |
| 19 | input; |
| 20 | gpios = <8 GPIO_ACTIVE_HIGH>; |
| 21 | line-name = "dio1"; |
| 22 | }; |
| 23 | |
| 24 | dio_0 { |
| 25 | gpio-hog; |
| 26 | input; |
| 27 | gpios = <11 GPIO_ACTIVE_HIGH>; |
| 28 | line-name = "dio0"; |
| 29 | }; |
| 30 | |
| 31 | pci_usb_sel { |
| 32 | gpio-hog; |
| 33 | output-low; |
| 34 | gpios = <14 GPIO_ACTIVE_HIGH>; |
| 35 | line-name = "pci_usb_sel"; |
| 36 | }; |
| 37 | |
| 38 | mipi_gpio4 { |
| 39 | gpio-hog; |
| 40 | input; |
| 41 | gpios = <17 GPIO_ACTIVE_HIGH>; |
| 42 | line-name = "mipi_gpio4"; |
| 43 | }; |
| 44 | |
| 45 | rs485_en { |
| 46 | gpio-hog; |
| 47 | output-low; |
| 48 | gpios = <22 GPIO_ACTIVE_HIGH>; |
| 49 | line-name = "rs485_en"; |
| 50 | }; |
| 51 | |
| 52 | rs485_term { |
| 53 | gpio-hog; |
| 54 | output-low; |
| 55 | gpios = <23 GPIO_ACTIVE_HIGH>; |
| 56 | line-name = "rs485_term"; |
| 57 | }; |
| 58 | |
| 59 | mipi_gpio1 { |
| 60 | gpio-hog; |
| 61 | input; |
| 62 | gpios = <24 GPIO_ACTIVE_HIGH>; |
| 63 | line-name = "mipi_gpio1"; |
| 64 | }; |
| 65 | |
| 66 | mipi_gpio3 { |
| 67 | gpio-hog; |
| 68 | input; |
| 69 | gpios = <25 GPIO_ACTIVE_HIGH>; |
| 70 | line-name = "mipi_gpio3"; |
| 71 | }; |
| 72 | |
| 73 | mipi_gpio2 { |
| 74 | gpio-hog; |
| 75 | input; |
| 76 | gpios = <26 GPIO_ACTIVE_HIGH>; |
| 77 | line-name = "mipi_gpio2"; |
| 78 | }; |
| 79 | |
| 80 | rs485_hd { |
| 81 | gpio-hog; |
| 82 | output-low; |
| 83 | gpios = <27 GPIO_ACTIVE_HIGH>; |
| 84 | line-name = "rs485_hd"; |
| 85 | }; |
| 86 | |
| 87 | pci_wdis { |
| 88 | gpio-hog; |
| 89 | output-high; |
| 90 | gpios = <28 GPIO_ACTIVE_HIGH>; |
| 91 | line-name = "pci_wdis#"; |
| 92 | }; |
| 93 | }; |
| 94 | |
| 95 | /* gpio-usb-con not supported yet in U-Boot so make this a host for now */ |
| 96 | &usb_dwc3_0 { |
| 97 | dr_mode = "host"; |
| 98 | }; |