Tim Harvey | 5cc5e19 | 2022-02-18 15:19:33 -0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2022 Gateworks Corporation |
| 4 | */ |
| 5 | |
| 6 | #include "imx8mm-venice-u-boot.dtsi" |
| 7 | |
Tim Harvey | a5953f9 | 2022-04-13 09:02:44 -0700 | [diff] [blame] | 8 | &gpio1 { |
| 9 | rs422en { |
| 10 | gpio-hog; |
| 11 | output-high; |
| 12 | gpios = <10 GPIO_ACTIVE_HIGH>; |
| 13 | line-name = "rs422_en#"; |
| 14 | }; |
| 15 | |
| 16 | rs485en { |
| 17 | gpio-hog; |
| 18 | output-high; |
| 19 | gpios = <11 GPIO_ACTIVE_HIGH>; |
| 20 | line-name = "rs485_en#"; |
| 21 | }; |
| 22 | |
| 23 | rs232en { |
| 24 | gpio-hog; |
| 25 | output-low; |
| 26 | gpios = <12 GPIO_ACTIVE_HIGH>; |
| 27 | line-name = "rs232_en#"; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | &gpio2 { |
| 32 | dig2in { |
| 33 | gpio-hog; |
| 34 | input; |
| 35 | gpios = <0 GPIO_ACTIVE_HIGH>; |
| 36 | line-name = "dig2_in"; |
| 37 | }; |
| 38 | |
| 39 | dig2out { |
| 40 | gpio-hog; |
| 41 | output-high; |
| 42 | gpios = <1 GPIO_ACTIVE_HIGH>; |
| 43 | line-name = "dig2_out#"; |
| 44 | }; |
| 45 | |
| 46 | dig1out { |
| 47 | gpio-hog; |
| 48 | output-high; |
| 49 | gpios = <8 GPIO_ACTIVE_HIGH>; |
| 50 | line-name = "dig1_out#"; |
| 51 | }; |
| 52 | |
| 53 | dig1in { |
| 54 | gpio-hog; |
| 55 | input; |
| 56 | gpios = <9 GPIO_ACTIVE_HIGH>; |
| 57 | line-name = "dig1_in"; |
| 58 | }; |
| 59 | }; |
| 60 | |
| 61 | &gpio5 { |
| 62 | sim1det { |
| 63 | gpio-hog; |
| 64 | input; |
| 65 | gpios = <7 GPIO_ACTIVE_LOW>; |
| 66 | line-name = "sim1_det#"; |
| 67 | }; |
| 68 | |
| 69 | sim2det { |
| 70 | gpio-hog; |
| 71 | input; |
| 72 | gpios = <8 GPIO_ACTIVE_LOW>; |
| 73 | line-name = "sim2_det#"; |
| 74 | }; |
| 75 | |
| 76 | sim2sel { |
| 77 | gpio-hog; |
| 78 | output-low; |
| 79 | gpios = <9 GPIO_ACTIVE_HIGH>; |
| 80 | line-name = "sim2_sel"; |
| 81 | }; |
| 82 | |
| 83 | pci_wdis { |
| 84 | gpio-hog; |
| 85 | output-high; |
| 86 | gpios = <12 GPIO_ACTIVE_HIGH>; |
| 87 | line-name = "pci_wdis#"; |
| 88 | }; |
| 89 | }; |
| 90 | |
Tim Harvey | 5cc5e19 | 2022-02-18 15:19:33 -0800 | [diff] [blame] | 91 | &fec1 { |
| 92 | phy-reset-gpios = <&gpio4 25 GPIO_ACTIVE_LOW>; |
| 93 | phy-reset-duration = <1>; |
| 94 | phy-reset-post-delay = <300>; |
| 95 | }; |
| 96 | |
| 97 | &pinctrl_fec1 { |
| 98 | u-boot,dm-spl; |
| 99 | }; |
| 100 | |
| 101 | &{/soc@0/bus@30800000/i2c@30a30000/pmic@4b} { |
| 102 | u-boot,dm-spl; |
| 103 | }; |
| 104 | |
| 105 | &{/soc@0/bus@30800000/i2c@30a30000/pmic@4b/regulators} { |
| 106 | u-boot,dm-spl; |
| 107 | }; |
| 108 | |
| 109 | &pinctrl_pmic { |
| 110 | u-boot,dm-spl; |
| 111 | }; |