// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * at91-sama7g5ek-u-boot.dtsi - Device Tree file for SAMA7G5 SoC u-boot * properties. * * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries * * Author: Eugen Hristev * Author: Claudiu Beznea * */ #include "sama7g5-pinfunc.h" #include #include / { chosen { u-boot,dm-pre-reloc; }; utmi { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <0>; usb_phy0: phy@0 { compatible = "microchip,sama7g5-usb-phy"; sfr-phandle = <&sfr>; reg = <0>; clocks = <&utmi_clk USB_UTMI1>; clock-names = "utmi_clk"; status = "disabled"; #phy-cells = <0>; }; usb_phy1: phy@1 { compatible = "microchip,sama7g5-usb-phy"; sfr-phandle = <&sfr>; reg = <1>; clocks = <&utmi_clk USB_UTMI2>; clock-names = "utmi_clk"; status = "disabled"; #phy-cells = <0>; }; usb_phy2: phy@2 { compatible = "microchip,sama7g5-usb-phy"; sfr-phandle = <&sfr>; reg = <2>; clocks = <&utmi_clk USB_UTMI3>; clock-names = "utmi_clk"; status = "disabled"; #phy-cells = <0>; }; }; utmi_clk: utmi-clk { compatible = "microchip,sama7g5-utmi-clk"; sfr-phandle = <&sfr>; #clock-cells = <1>; clocks = <&pmc PMC_TYPE_CORE 27>; clock-names = "utmi_clk"; resets = <&reset_controller SAMA7G5_RESET_USB_PHY1>, <&reset_controller SAMA7G5_RESET_USB_PHY2>, <&reset_controller SAMA7G5_RESET_USB_PHY3>; reset-names = "usb0_reset", "usb1_reset", "usb2_reset"; }; soc { u-boot,dm-pre-reloc; usb2: usb@400000 { compatible = "microchip,sama7g5-ohci", "usb-ohci"; reg = <0x00400000 0x100000>; interrupts = ; clocks = <&pmc PMC_TYPE_PERIPHERAL 106>, <&utmi_clk USB_UTMI1>, <&usb_clk>; clock-names = "ohci_clk", "hclk", "uhpck"; status = "disabled"; }; usb3: usb@500000 { compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; reg = <0x00500000 0x100000>; interrupts = ; clocks = <&usb_clk>, <&pmc PMC_TYPE_PERIPHERAL 106>; clock-names = "usb_clk", "ehci_clk"; status = "disabled"; }; sfr: sfr@e1624000 { compatible = "microchip,sama7g5-sfr", "syscon"; reg = <0xe1624000 0x4000>; }; }; }; &main_rc { u-boot,dm-pre-reloc; }; &main_xtal { u-boot,dm-pre-reloc; }; &pioA { u-boot,dm-pre-reloc; }; &pinctrl_flx3_default { u-boot,dm-pre-reloc; }; &pioA { u-boot,dm-pre-reloc; pinctrl_usb_default: usb_default { pinmux = ; bias-disable; }; }; &pit64b0 { u-boot,dm-pre-reloc; }; &pmc { u-boot,dm-pre-reloc; }; &slow_rc_osc { u-boot,dm-pre-reloc; }; &slow_xtal { u-boot,dm-pre-reloc; }; &uart3 { u-boot,dm-pre-reloc; }; &usb2 { num-ports = <3>; atmel,vbus-gpio = <0 0 &pioA PIN_PC6 GPIO_ACTIVE_HIGH >; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb_default>; phys = <&usb_phy2>; phy-names = "usb"; status = "okay"; }; &usb3 { status = "okay"; }; &usb_phy0 { status = "okay"; }; &usb_phy1 { status = "okay"; }; &usb_phy2 { status = "okay"; };