Nishanth Menon | c5ac2c7 | 2022-05-25 13:38:48 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * AM625 SK: https://www.ti.com/lit/zip/sprr448 |
| 4 | * |
| 5 | * Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/ |
| 6 | */ |
| 7 | |
| 8 | /dts-v1/; |
| 9 | |
| 10 | #include <dt-bindings/leds/common.h> |
| 11 | #include <dt-bindings/gpio/gpio.h> |
| 12 | #include <dt-bindings/net/ti-dp83867.h> |
| 13 | #include "k3-am625.dtsi" |
| 14 | |
| 15 | / { |
| 16 | compatible = "ti,am625-sk", "ti,am625"; |
| 17 | model = "Texas Instruments AM625 SK"; |
| 18 | |
| 19 | aliases { |
| 20 | serial2 = &main_uart0; |
| 21 | mmc1 = &sdhci1; |
| 22 | }; |
| 23 | |
| 24 | chosen { |
| 25 | stdout-path = "serial2:115200n8"; |
| 26 | bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; |
| 27 | }; |
| 28 | |
| 29 | memory@80000000 { |
| 30 | device_type = "memory"; |
| 31 | /* 2G RAM */ |
| 32 | reg = <0x00000000 0x80000000 0x00000000 0x80000000>; |
| 33 | |
| 34 | }; |
| 35 | |
| 36 | reserved-memory { |
| 37 | #address-cells = <2>; |
| 38 | #size-cells = <2>; |
| 39 | ranges; |
| 40 | |
| 41 | secure_tfa_ddr: tfa@9e780000 { |
| 42 | reg = <0x00 0x9e780000 0x00 0x80000>; |
| 43 | alignment = <0x1000>; |
| 44 | no-map; |
| 45 | }; |
| 46 | |
| 47 | secure_ddr: optee@9e800000 { |
| 48 | reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ |
| 49 | alignment = <0x1000>; |
| 50 | no-map; |
| 51 | }; |
| 52 | |
| 53 | wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 { |
| 54 | compatible = "shared-dma-pool"; |
| 55 | reg = <0x00 0x9db00000 0x00 0xc00000>; |
| 56 | no-map; |
| 57 | }; |
| 58 | }; |
| 59 | }; |
| 60 | |
| 61 | &main_pmx0 { |
| 62 | main_uart0_pins_default: main-uart0-pins-default { |
| 63 | pinctrl-single,pins = < |
| 64 | AM62X_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */ |
| 65 | AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ |
| 66 | >; |
| 67 | }; |
| 68 | |
| 69 | main_mmc1_pins_default: main-mmc1-pins-default { |
| 70 | pinctrl-single,pins = < |
| 71 | AM62X_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ |
| 72 | AM62X_IOPAD(0x234, PIN_INPUT, 0) /* (B22) MMC1_CLK */ |
| 73 | AM62X_IOPAD(0x230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */ |
| 74 | AM62X_IOPAD(0x22c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */ |
| 75 | AM62X_IOPAD(0x228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */ |
| 76 | AM62X_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */ |
| 77 | AM62X_IOPAD(0x240, PIN_INPUT, 0) /* (D17) MMC1_SDCD */ |
| 78 | >; |
| 79 | }; |
| 80 | }; |
| 81 | |
| 82 | &wkup_uart0 { |
| 83 | /* WKUP UART0 is used by DM firmware */ |
| 84 | status = "reserved"; |
| 85 | }; |
| 86 | |
| 87 | &mcu_uart0 { |
| 88 | status = "disabled"; |
| 89 | }; |
| 90 | |
| 91 | &main_uart0 { |
| 92 | pinctrl-names = "default"; |
| 93 | pinctrl-0 = <&main_uart0_pins_default>; |
| 94 | }; |
| 95 | |
| 96 | &main_uart1 { |
| 97 | /* Main UART1 is used by TIFS firmware */ |
| 98 | status = "reserved"; |
| 99 | }; |
| 100 | |
| 101 | &main_uart2 { |
| 102 | status = "disabled"; |
| 103 | }; |
| 104 | |
| 105 | &main_uart3 { |
| 106 | status = "disabled"; |
| 107 | }; |
| 108 | |
| 109 | &main_uart4 { |
| 110 | status = "disabled"; |
| 111 | }; |
| 112 | |
| 113 | &main_uart5 { |
| 114 | status = "disabled"; |
| 115 | }; |
| 116 | |
| 117 | &main_uart6 { |
| 118 | status = "disabled"; |
| 119 | }; |
| 120 | |
| 121 | &mcu_i2c0 { |
| 122 | status = "disabled"; |
| 123 | }; |
| 124 | |
| 125 | &wkup_i2c0 { |
| 126 | status = "disabled"; |
| 127 | }; |
| 128 | |
| 129 | &main_i2c0 { |
| 130 | status = "disabled"; |
| 131 | }; |
| 132 | |
| 133 | &main_i2c1 { |
| 134 | status = "disabled"; |
| 135 | }; |
| 136 | |
| 137 | &main_i2c2 { |
| 138 | status = "disabled"; |
| 139 | }; |
| 140 | |
| 141 | &main_i2c3 { |
| 142 | status = "disabled"; |
| 143 | }; |
| 144 | |
| 145 | &sdhci1 { |
| 146 | pinctrl-names = "default"; |
| 147 | pinctrl-0 = <&main_mmc1_pins_default>; |
| 148 | ti,driver-strength-ohm = <50>; |
| 149 | disable-wp; |
| 150 | }; |