Marcel Ziswiler | 2712c78 | 2022-07-21 15:41:23 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| 2 | /* |
| 3 | * Copyright 2020-2022 Toradex |
| 4 | */ |
| 5 | |
| 6 | #include "imx8mm-u-boot.dtsi" |
| 7 | |
| 8 | / { |
| 9 | firmware { |
| 10 | optee { |
| 11 | compatible = "linaro,optee-tz"; |
| 12 | method = "smc"; |
| 13 | }; |
| 14 | }; |
| 15 | |
| 16 | wdt-reboot { |
| 17 | compatible = "wdt-reboot"; |
| 18 | u-boot,dm-spl; |
| 19 | wdt = <&wdog1>; |
| 20 | }; |
| 21 | }; |
| 22 | |
| 23 | &{/aliases} { |
| 24 | eeprom0 = &eeprom_module; |
| 25 | eeprom1 = &eeprom_carrier_board; |
| 26 | eeprom2 = &eeprom_display_adapter; |
| 27 | }; |
| 28 | |
| 29 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@25} { |
| 30 | u-boot,dm-spl; |
| 31 | }; |
| 32 | |
| 33 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} { |
| 34 | u-boot,dm-spl; |
| 35 | }; |
| 36 | |
| 37 | &binman_uboot { |
| 38 | offset = <0x5fc00>; |
| 39 | }; |
| 40 | |
| 41 | &gpio1 { |
| 42 | u-boot,dm-spl; |
| 43 | }; |
| 44 | |
| 45 | &gpio2 { |
| 46 | u-boot,dm-spl; |
| 47 | }; |
| 48 | |
| 49 | &gpio3 { |
| 50 | u-boot,dm-spl; |
| 51 | }; |
| 52 | |
| 53 | &gpio4 { |
| 54 | u-boot,dm-spl; |
| 55 | }; |
| 56 | |
| 57 | &gpio5 { |
| 58 | u-boot,dm-spl; |
| 59 | }; |
| 60 | |
| 61 | &i2c1 { |
| 62 | u-boot,dm-spl; |
| 63 | |
| 64 | eeprom_module: eeprom@50 { |
| 65 | compatible = "i2c-eeprom"; |
| 66 | pagesize = <16>; |
| 67 | reg = <0x50>; |
| 68 | }; |
| 69 | }; |
| 70 | |
| 71 | &i2c2 { |
| 72 | status = "okay"; |
| 73 | }; |
| 74 | |
| 75 | &i2c4 { |
| 76 | /* EEPROM on display adapter (MIPI DSI Display Adapter) */ |
| 77 | eeprom_display_adapter: eeprom@50 { |
| 78 | compatible = "i2c-eeprom"; |
| 79 | pagesize = <16>; |
| 80 | reg = <0x50>; |
| 81 | }; |
| 82 | |
| 83 | /* EEPROM on carrier board */ |
| 84 | eeprom_carrier_board: eeprom@57 { |
| 85 | compatible = "i2c-eeprom"; |
| 86 | pagesize = <16>; |
| 87 | reg = <0x57>; |
| 88 | }; |
| 89 | }; |
| 90 | |
| 91 | &pinctrl_i2c1 { |
| 92 | u-boot,dm-spl; |
| 93 | }; |
| 94 | |
| 95 | &pinctrl_pmic { |
| 96 | u-boot,dm-spl; |
| 97 | }; |
| 98 | |
| 99 | &pinctrl_uart1 { |
| 100 | u-boot,dm-spl; |
| 101 | }; |
| 102 | |
| 103 | &pinctrl_usdhc1 { |
| 104 | u-boot,dm-spl; |
| 105 | }; |
| 106 | |
| 107 | &pinctrl_usdhc2 { |
| 108 | u-boot,dm-spl; |
| 109 | }; |
| 110 | |
| 111 | &pinctrl_wdog { |
| 112 | u-boot,dm-spl; |
| 113 | }; |
| 114 | |
| 115 | &uart1 { |
| 116 | u-boot,dm-spl; |
| 117 | }; |
| 118 | |
| 119 | &usdhc1 { |
| 120 | u-boot,dm-spl; |
| 121 | }; |
| 122 | |
| 123 | &usdhc2 { |
| 124 | u-boot,dm-spl; |
| 125 | }; |
| 126 | |
| 127 | &usdhc3 { |
| 128 | u-boot,dm-spl; |
| 129 | }; |
| 130 | |
| 131 | &wdog1 { |
| 132 | u-boot,dm-spl; |
| 133 | }; |