Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ |
| 4 | */ |
| 5 | |
Neha Malcom Francis | 9a1b271 | 2023-07-22 00:14:34 +0530 | [diff] [blame] | 6 | #include "k3-am64x-binman.dtsi" |
| 7 | |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 8 | / { |
| 9 | chosen { |
| 10 | stdout-path = "serial2:115200n8"; |
| 11 | tick-timer = &timer1; |
| 12 | }; |
Georgi Vlaev | d4d0db1 | 2022-05-20 15:30:26 +0300 | [diff] [blame] | 13 | |
| 14 | memory@80000000 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 15 | bootph-pre-ram; |
Georgi Vlaev | d4d0db1 | 2022-05-20 15:30:26 +0300 | [diff] [blame] | 16 | }; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 17 | }; |
| 18 | |
| 19 | &cbass_main{ |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 20 | bootph-pre-ram; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 21 | timer1: timer@2400000 { |
| 22 | compatible = "ti,omap5430-timer"; |
| 23 | reg = <0x0 0x2400000 0x0 0x80>; |
| 24 | ti,timer-alwon; |
Vignesh Raghavendra | f113fce | 2022-03-11 21:23:22 +0530 | [diff] [blame] | 25 | clock-frequency = <200000000>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 26 | bootph-pre-ram; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 27 | }; |
| 28 | }; |
| 29 | |
Lokesh Vutla | 882c7dd | 2021-05-06 16:44:56 +0530 | [diff] [blame] | 30 | &main_conf { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 31 | bootph-pre-ram; |
Lokesh Vutla | 882c7dd | 2021-05-06 16:44:56 +0530 | [diff] [blame] | 32 | chipid@14 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 33 | bootph-pre-ram; |
Lokesh Vutla | 882c7dd | 2021-05-06 16:44:56 +0530 | [diff] [blame] | 34 | }; |
| 35 | }; |
| 36 | |
Lokesh Vutla | 11ba7c2 | 2021-05-06 16:44:58 +0530 | [diff] [blame] | 37 | &main_pmx0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-pre-ram; |
Lokesh Vutla | 11ba7c2 | 2021-05-06 16:44:58 +0530 | [diff] [blame] | 39 | main_i2c0_pins_default: main-i2c0-pins-default { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 40 | bootph-pre-ram; |
Lokesh Vutla | 11ba7c2 | 2021-05-06 16:44:58 +0530 | [diff] [blame] | 41 | pinctrl-single,pins = < |
| 42 | AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */ |
| 43 | AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */ |
| 44 | >; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | &main_i2c0 { |
Roger Quadros | ef0371c | 2023-01-24 11:43:26 +0200 | [diff] [blame] | 49 | status = "okay"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 50 | bootph-pre-ram; |
Lokesh Vutla | 11ba7c2 | 2021-05-06 16:44:58 +0530 | [diff] [blame] | 51 | pinctrl-names = "default"; |
| 52 | pinctrl-0 = <&main_i2c0_pins_default>; |
| 53 | clock-frequency = <400000>; |
| 54 | }; |
| 55 | |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 56 | &main_uart0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 57 | bootph-pre-ram; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 58 | }; |
| 59 | |
Aswath Govindraju | 7908774 | 2021-06-04 22:00:37 +0530 | [diff] [blame] | 60 | &usb0 { |
| 61 | dr_mode="peripheral"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 62 | bootph-pre-ram; |
Aswath Govindraju | 7908774 | 2021-06-04 22:00:37 +0530 | [diff] [blame] | 63 | }; |
| 64 | |
| 65 | &usbss0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 66 | bootph-pre-ram; |
Aswath Govindraju | 7908774 | 2021-06-04 22:00:37 +0530 | [diff] [blame] | 67 | }; |
| 68 | |
Aswath Govindraju | 1786a7f | 2021-08-09 22:32:23 +0530 | [diff] [blame] | 69 | &main_mmc1_pins_default { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 70 | bootph-pre-ram; |
Aswath Govindraju | 1786a7f | 2021-08-09 22:32:23 +0530 | [diff] [blame] | 71 | }; |
| 72 | |
Aswath Govindraju | 7908774 | 2021-06-04 22:00:37 +0530 | [diff] [blame] | 73 | &main_usb0_pins_default { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 74 | bootph-pre-ram; |
Aswath Govindraju | 7908774 | 2021-06-04 22:00:37 +0530 | [diff] [blame] | 75 | }; |
| 76 | |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 77 | &dmss { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 78 | bootph-pre-ram; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 79 | }; |
| 80 | |
| 81 | &secure_proxy_main { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 82 | bootph-pre-ram; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 83 | }; |
| 84 | |
| 85 | &dmsc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 86 | bootph-pre-ram; |
Suman Anna | ce4e566 | 2021-05-13 20:10:56 -0500 | [diff] [blame] | 87 | k3_sysreset: sysreset-controller { |
| 88 | compatible = "ti,sci-sysreset"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 89 | bootph-pre-ram; |
Suman Anna | ce4e566 | 2021-05-13 20:10:56 -0500 | [diff] [blame] | 90 | }; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 91 | }; |
| 92 | |
| 93 | &k3_pds { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 94 | bootph-pre-ram; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 95 | }; |
| 96 | |
| 97 | &k3_clks { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 98 | bootph-pre-ram; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 99 | }; |
| 100 | |
| 101 | &k3_reset { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 102 | bootph-pre-ram; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 103 | }; |
| 104 | |
| 105 | &sdhci0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 106 | bootph-pre-ram; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 107 | }; |
| 108 | |
| 109 | &sdhci1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 110 | bootph-pre-ram; |
Dave Gerlach | 278e7ac | 2021-04-23 11:27:46 -0500 | [diff] [blame] | 111 | }; |
Vignesh Raghavendra | 759316f | 2021-05-10 20:06:12 +0530 | [diff] [blame] | 112 | |
| 113 | &cpsw3g { |
| 114 | reg = <0x0 0x8000000 0x0 0x200000>, |
| 115 | <0x0 0x43000200 0x0 0x8>; |
| 116 | reg-names = "cpsw_nuss", "mac_efuse"; |
| 117 | /delete-property/ ranges; |
Roger Quadros | 7350eb2 | 2023-01-24 11:43:27 +0200 | [diff] [blame] | 118 | pinctrl-0 = <&mdio1_pins_default /* HACK: as MDIO driver is not DM enabled */ |
| 119 | &rgmii1_pins_default |
| 120 | &rgmii2_pins_default>; |
Vignesh Raghavendra | 759316f | 2021-05-10 20:06:12 +0530 | [diff] [blame] | 121 | |
| 122 | cpsw-phy-sel@04044 { |
| 123 | compatible = "ti,am64-phy-gmii-sel"; |
| 124 | reg = <0x0 0x43004044 0x0 0x8>; |
| 125 | }; |
| 126 | }; |
| 127 | |
| 128 | &cpsw_port2 { |
| 129 | status = "disabled"; |
| 130 | }; |