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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/freescale/imx93-phycore-som.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Copyright (C) 2023 PHYTEC Messtechnik GmbH
  4  * Author: Wadim Egorov <w.egorov@phytec.de>, Christoph Stoidner <c.stoidner@phytec.de>
  5  * Copyright (C) 2024 Mathieu Othacehe <m.othacehe@gmail.com>
  6  *
  7  * Product homepage:
  8  * https://www.phytec.eu/en/produkte/system-on-modules/phycore-imx-91-93/
  9  */
 10 
 11 #include <dt-bindings/leds/common.h>
 12 
 13 #include "imx93.dtsi"
 14 
 15 /{
 16         model = "PHYTEC phyCORE-i.MX93";
 17         compatible = "phytec,imx93-phycore-som", "fsl,imx93";
 18 
 19         reserved-memory {
 20                 ranges;
 21                 #address-cells = <2>;
 22                 #size-cells = <2>;
 23 
 24                 linux,cma {
 25                         compatible = "shared-dma-pool";
 26                         reusable;
 27                         alloc-ranges = <0 0x80000000 0 0x40000000>;
 28                         size = <0 0x10000000>;
 29                         linux,cma-default;
 30                 };
 31         };
 32 
 33         leds {
 34                 compatible = "gpio-leds";
 35                 pinctrl-names = "default";
 36                 pinctrl-0 = <&pinctrl_leds>;
 37 
 38                 led-0 {
 39                         color = <LED_COLOR_ID_GREEN>;
 40                         function = LED_FUNCTION_HEARTBEAT;
 41                         gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
 42                         linux,default-trigger = "heartbeat";
 43                 };
 44         };
 45 };
 46 
 47 /* Ethernet */
 48 &fec {
 49         pinctrl-names = "default";
 50         pinctrl-0 = <&pinctrl_fec>;
 51         phy-mode = "rmii";
 52         phy-handle = <&ethphy1>;
 53         fsl,magic-packet;
 54         assigned-clocks = <&clk IMX93_CLK_ENET_TIMER1>,
 55                           <&clk IMX93_CLK_ENET_REF>,
 56                           <&clk IMX93_CLK_ENET_REF_PHY>;
 57         assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>,
 58                                  <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>,
 59                                  <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>;
 60         assigned-clock-rates = <100000000>, <50000000>, <50000000>;
 61         status = "okay";
 62 
 63         mdio: mdio {
 64                 clock-frequency = <5000000>;
 65                 #address-cells = <1>;
 66                 #size-cells = <0>;
 67 
 68                 ethphy1: ethernet-phy@1 {
 69                         compatible = "ethernet-phy-ieee802.3-c22";
 70                         reg = <1>;
 71                 };
 72         };
 73 };
 74 
 75 /* eMMC */
 76 &usdhc1 {
 77         pinctrl-names = "default";
 78         pinctrl-0 = <&pinctrl_usdhc1>;
 79         bus-width = <8>;
 80         non-removable;
 81         status = "okay";
 82 };
 83 
 84 /* Watchdog */
 85 &wdog3 {
 86         status = "okay";
 87 };
 88 
 89 &iomuxc {
 90         pinctrl_fec: fecgrp {
 91                 fsl,pins = <
 92                         MX93_PAD_ENET2_MDC__ENET1_MDC                   0x50e
 93                         MX93_PAD_ENET2_MDIO__ENET1_MDIO                 0x502
 94                         MX93_PAD_ENET2_RD0__ENET1_RGMII_RD0             0x57e
 95                         MX93_PAD_ENET2_RD1__ENET1_RGMII_RD1             0x57e
 96                         MX93_PAD_ENET2_RXC__ENET1_RX_ER                 0x5fe
 97                         MX93_PAD_ENET2_RX_CTL__ENET1_RGMII_RX_CTL       0x57e
 98                         MX93_PAD_ENET2_TD0__ENET1_RGMII_TD0             0x50e
 99                         MX93_PAD_ENET2_TD1__ENET1_RGMII_TD1             0x50e
100                         MX93_PAD_ENET2_TX_CTL__ENET1_RGMII_TX_CTL       0x50e
101                         MX93_PAD_ENET2_TD2__ENET1_TX_CLK                0x4000050e
102                 >;
103         };
104 
105         pinctrl_leds: ledsgrp {
106                 fsl,pins = <
107                         MX93_PAD_I2C1_SDA__GPIO1_IO01           0x31e
108                 >;
109         };
110 
111         pinctrl_usdhc1: usdhc1grp {
112                 fsl,pins = <
113                         MX93_PAD_SD1_CLK__USDHC1_CLK            0x179e
114                         MX93_PAD_SD1_CMD__USDHC1_CMD            0x1386
115                         MX93_PAD_SD1_DATA0__USDHC1_DATA0        0x138e
116                         MX93_PAD_SD1_DATA1__USDHC1_DATA1        0x1386
117                         MX93_PAD_SD1_DATA2__USDHC1_DATA2        0x138e
118                         MX93_PAD_SD1_DATA3__USDHC1_DATA3        0x1386
119                         MX93_PAD_SD1_DATA4__USDHC1_DATA4        0x1386
120                         MX93_PAD_SD1_DATA5__USDHC1_DATA5        0x1386
121                         MX93_PAD_SD1_DATA6__USDHC1_DATA6        0x1386
122                         MX93_PAD_SD1_DATA7__USDHC1_DATA7        0x1386
123                         MX93_PAD_SD1_STROBE__USDHC1_STROBE      0x179e
124                 >;
125         };
126 };

~ [ 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