1// SPDX-License-Identifier: GPL-2.0-only OR MIT 2/* 3 * Device Tree file for the AM62P MAIN domain peripherals 4 * 5 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ 6 */ 7 8&cbass_main { 9 usbss1: usb@f910000 { 10 compatible = "ti,am62-usb"; 11 reg = <0x00 0x0f910000 0x00 0x800>, 12 <0x00 0x0f918000 0x00 0x400>; 13 clocks = <&k3_clks 162 3>; 14 clock-names = "ref"; 15 ti,syscon-phy-pll-refclk = <&usb1_phy_ctrl 0x0>; 16 #address-cells = <2>; 17 #size-cells = <2>; 18 power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>; 19 ranges; 20 status = "disabled"; 21 22 usb1: usb@31100000 { 23 compatible = "snps,dwc3"; 24 reg = <0x00 0x31100000 0x00 0x50000>; 25 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */ 26 <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; /* irq.0 */ 27 interrupt-names = "host", "peripheral"; 28 maximum-speed = "high-speed"; 29 dr_mode = "otg"; 30 snps,usb2-gadget-lpm-disable; 31 snps,usb2-lpm-disable; 32 }; 33 }; 34}; 35 36&oc_sram { 37 reg = <0x00 0x70000000 0x00 0x10000>; 38 ranges = <0x00 0x00 0x70000000 0x10000>; 39}; 40 41&inta_main_dmss { 42 ti,interrupt-ranges = <5 69 35>; 43}; 44 45&main_pmx0 { 46 pinctrl-single,gpio-range = 47 <&main_pmx0_range 0 32 PIN_GPIO_RANGE_IOPAD>, 48 <&main_pmx0_range 33 38 PIN_GPIO_RANGE_IOPAD>, 49 <&main_pmx0_range 72 22 PIN_GPIO_RANGE_IOPAD>, 50 <&main_pmx0_range 137 5 PIN_GPIO_RANGE_IOPAD>, 51 <&main_pmx0_range 143 3 PIN_GPIO_RANGE_IOPAD>, 52 <&main_pmx0_range 149 2 PIN_GPIO_RANGE_IOPAD>; 53 54 main_pmx0_range: gpio-range { 55 #pinctrl-single,gpio-range-cells = <3>; 56 }; 57}; 58 59&main_gpio0 { 60 gpio-ranges = <&main_pmx0 0 0 32>, <&main_pmx0 32 33 38>, 61 <&main_pmx0 70 72 22>; 62 ti,ngpio = <92>; 63}; 64 65&main_gpio1 { 66 gpio-ranges = <&main_pmx0 0 94 32>, <&main_pmx0 42 137 5>, 67 <&main_pmx0 47 143 3>, <&main_pmx0 50 149 2>; 68 gpio-reserved-ranges = <32 10>; 69 ti,ngpio = <52>; 70}; 71