~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only
  2 /*
  3  * Copyright (c) Siemens AG, 2018-2023
  4  *
  5  * Authors:
  6  *   Chao Zeng <chao.zeng@siemens.com>
  7  *   Jan Kiszka <jan.kiszka@siemens.com>
  8  *
  9  * AM6548-based (quad-core) IOT2050 M.2 variant (based on Advanced Product
 10  * Generation 2), 2 GB RAM, 16 GB eMMC, USB-serial converter on connector X30
 11  *
 12  * Product homepage:
 13  * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html
 14  */
 15 
 16 #include "k3-am6548-iot2050-advanced-common.dtsi"
 17 #include "k3-am65-iot2050-common-pg2.dtsi"
 18 #include "k3-am65-iot2050-arduino-connector.dtsi"
 19 #include "k3-am65-iot2050-dp.dtsi"
 20 
 21 / {
 22         compatible = "siemens,iot2050-advanced-m2", "ti,am654";
 23         model = "SIMATIC IOT2050 Advanced M2";
 24 };
 25 
 26 &main_pmx0 {
 27         main_bkey_pcie_reset: main-bkey-pcie-reset-default-pins {
 28                 pinctrl-single,pins = <
 29                         AM65X_IOPAD(0x01bc, PIN_OUTPUT_PULLUP, 7)  /* (AG13) GPIO1_15 */
 30                 >;
 31         };
 32 
 33         main_pmx0_m2_config_pins_default: main-pmx0-m2-config-default-pins {
 34                 pinctrl-single,pins = <
 35                         AM65X_IOPAD(0x01c8, PIN_INPUT_PULLUP, 7)  /* (AE13) GPIO1_18 */
 36                         AM65X_IOPAD(0x01cc, PIN_INPUT_PULLUP, 7)  /* (AD13) GPIO1_19 */
 37                 >;
 38         };
 39 
 40         main_m2_pcie_mux_control: main-m2-pcie-mux-control-default-pins {
 41                 pinctrl-single,pins = <
 42                         AM65X_IOPAD(0x0148, PIN_INPUT_PULLUP, 7)  /* (AG22) GPIO0_82 */
 43                         AM65X_IOPAD(0x0160, PIN_INPUT_PULLUP, 7)  /* (AE20) GPIO0_88 */
 44                         AM65X_IOPAD(0x0164, PIN_INPUT_PULLUP, 7)  /* (AF19) GPIO0_89 */
 45                 >;
 46         };
 47 };
 48 
 49 &main_pmx1 {
 50         main_pmx1_m2_config_pins_default: main-pmx1-m2-config-default-pins {
 51                 pinctrl-single,pins = <
 52                         AM65X_IOPAD(0x0018, PIN_INPUT_PULLUP, 7)  /* (B22) GPIO1_88 */
 53                         AM65X_IOPAD(0x001c, PIN_INPUT_PULLUP, 7)  /* (C23) GPIO1_89 */
 54                 >;
 55         };
 56 };
 57 
 58 &main_gpio0 {
 59         pinctrl-names = "default";
 60         pinctrl-0 = <&main_m2_pcie_mux_control>;
 61 };
 62 
 63 &main_gpio1 {
 64         pinctrl-names = "default";
 65         pinctrl-0 =
 66                 <&main_pcie_enable_pins_default>,
 67                 <&main_pmx0_m2_config_pins_default>,
 68                 <&main_pmx1_m2_config_pins_default>,
 69                 <&cp2102n_reset_pin_default>;
 70 };
 71 
 72 /*
 73  * Base configuration for B-key slot with PCIe x2, E-key with USB 2.0 only.
 74  * Firmware switches to other modes via device tree overlays.
 75  */
 76 
 77 &serdes0 {
 78         assigned-clocks = <&k3_clks 153 4>, <&serdes0 AM654_SERDES_CMU_REFCLK>;
 79         assigned-clock-parents = <&k3_clks 153 8>, <&k3_clks 153 4>;
 80 };
 81 
 82 &pcie0_rc {
 83         pinctrl-names = "default";
 84         pinctrl-0 = <&main_bkey_pcie_reset>;
 85 
 86         num-lanes = <2>;
 87         phys = <&serdes0 PHY_TYPE_PCIE 1>, <&serdes1 PHY_TYPE_PCIE 1>;
 88         phy-names = "pcie-phy0","pcie-phy1";
 89         reset-gpios = <&main_gpio1 15 GPIO_ACTIVE_HIGH>;
 90         status = "okay";
 91 };
 92 
 93 &pcie1_rc {
 94         status = "disabled";
 95 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php