diff options
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-am69-aquila-dev.dts')
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-am69-aquila-dev.dts | 108 |
1 files changed, 99 insertions, 9 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am69-aquila-dev.dts b/arch/arm64/boot/dts/ti/k3-am69-aquila-dev.dts index 6d62f9962062..5be89fb50e50 100644 --- a/arch/arm64/boot/dts/ti/k3-am69-aquila-dev.dts +++ b/arch/arm64/boot/dts/ti/k3-am69-aquila-dev.dts @@ -20,22 +20,40 @@ "ti,j784s4"; }; -/* Aquila ETH_2 MDIO */ +/* Aquila CTRL_PWR_BTN_MICO# */ +&aquila_key_power { + status = "okay"; +}; + +/* Aquila CTRL_WAKE1_MICO# */ +&aquila_key_wake { + status = "okay"; +}; + +/* On-module ETH_1 MDIO */ &davinci_mdio { status = "okay"; +}; - mcu_phy0: ethernet-phy@3 { - compatible = "ethernet-phy-ieee802.3-c22"; - reg = <3>; +/* Aquila ETH_2 MDIO */ +&main_cpsw0_mdio { + status = "okay"; + + cpsw0_port2_phy4: ethernet-phy@4 { + reg = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eth2_int>; interrupt-parent = <&main_gpio0>; interrupts = <44 IRQ_TYPE_EDGE_FALLING>; - ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; - ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; }; }; +/* Aquila ETH_2 SGMII PHY */ +&main_cpsw0_port2 { + phy-handle = <&cpsw0_port2_phy4>; + status = "okay"; +}; + /* Aquila PWM_1 */ &main_ehrpwm0 { status = "okay"; @@ -115,15 +133,14 @@ status = "okay"; }; -/* Aquila ETH_2_RGMII */ +/* On-module ETH_1 RGMII */ &mcu_cpsw_port1 { - phy-handle = <&mcu_phy0>; - phy-mode = "rgmii-rxid"; status = "okay"; }; /* Aquila I2C_1 */ &mcu_i2c0 { + clock-frequency = <100000>; status = "okay"; /* Fan controller */ @@ -145,6 +162,45 @@ reg = <0x4f>; }; + /* USB-C OTG (TCPC USB PD PHY) */ + ptn5110@52 { + compatible = "nxp,ptn5110", "tcpci"; + reg = <0x52>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb1_int>; + interrupt-parent = <&main_gpio0>; + interrupts = <28 IRQ_TYPE_EDGE_FALLING>; + + connector { + compatible = "usb-c-connector"; + data-role = "dual"; + label = "USB-C OTG"; + power-role = "source"; + source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + usb_1_con_hs: endpoint { + remote-endpoint = <&usb0_hs>; + }; + }; + + port@1 { + reg = <1>; + + usb_1_con_ss: endpoint { + remote-endpoint = <&usb0_ss_mux>; + }; + }; + }; + }; + }; + /* EEPROM */ eeprom@57 { compatible = "st,24c02", "atmel,24c02"; @@ -188,11 +244,45 @@ }; }; +/* Aquila PCIE_1 */ +&pcie0_rc { + status = "okay"; +}; + +/* Aquila PCIE_2 */ +&pcie1_rc { + status = "okay"; +}; + /* Aquila ADC_[1-4] */ &tscadc0 { status = "okay"; }; +&usbss0 { + status = "okay"; +}; + +&usb0ss_mux { + status = "okay"; + + port { + usb0_ss_mux: endpoint { + remote-endpoint = <&usb_1_con_ss>; + }; + }; +}; + +&usb0 { + status = "okay"; + + port { + usb0_hs: endpoint { + remote-endpoint = <&usb_1_con_hs>; + }; + }; +}; + &wkup_gpio0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_wkup_gpio23>, |