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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/nxp/mxs/imx28-duckbill-2.dts

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-later
  2 /*
  3  * Copyright (C) 2015-2017 I2SE GmbH <info@i2se.com>
  4  * Copyright (C) 2016 Michael Heimpold <mhei@heimpold.de>
  5  */
  6 
  7 /dts-v1/;
  8 #include <dt-bindings/interrupt-controller/irq.h>
  9 #include <dt-bindings/gpio/gpio.h>
 10 #include "imx28.dtsi"
 11 
 12 / {
 13         model = "I2SE Duckbill 2";
 14         compatible = "i2se,duckbill-2", "fsl,imx28";
 15 
 16         memory@40000000 {
 17                 device_type = "memory";
 18                 reg = <0x40000000 0x08000000>;
 19         };
 20 
 21         reg_3p3v: regulator-3p3v {
 22                 compatible = "regulator-fixed";
 23                 regulator-name = "3P3V";
 24                 regulator-min-microvolt = <3300000>;
 25                 regulator-max-microvolt = <3300000>;
 26                 regulator-always-on;
 27         };
 28 
 29         leds {
 30                 compatible = "gpio-leds";
 31                 pinctrl-names = "default";
 32                 pinctrl-0 = <&led_pins>;
 33 
 34                 status-red {
 35                         label = "duckbill:red:status";
 36                         gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
 37                         linux,default-trigger = "default-on";
 38                 };
 39 
 40                 status-green {
 41                         label = "duckbill:green:status";
 42                         gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
 43                         linux,default-trigger = "heartbeat";
 44                 };
 45         };
 46 };
 47 
 48 &auart0 {
 49         pinctrl-names = "default";
 50         pinctrl-0 = <&auart0_2pins_a>;
 51         status = "okay";
 52 };
 53 
 54 &duart {
 55         pinctrl-names = "default";
 56         pinctrl-0 = <&duart_pins_a>;
 57         status = "okay";
 58 };
 59 
 60 &i2c0 {
 61         pinctrl-names = "default";
 62         pinctrl-0 = <&i2c0_pins_a>;
 63         status = "okay";
 64 };
 65 
 66 &lradc {
 67         status = "okay";
 68 };
 69 
 70 &mac0 {
 71         phy-mode = "rmii";
 72         pinctrl-names = "default";
 73         pinctrl-0 = <&mac0_pins_a>, <&mac0_phy_reset_pin>;
 74         phy-supply = <&reg_3p3v>;
 75         phy-reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
 76         phy-reset-duration = <25>;
 77         phy-handle = <&ethphy>;
 78         status = "okay";
 79 
 80         mdio {
 81                 #address-cells = <1>;
 82                 #size-cells = <0>;
 83 
 84                 ethphy: ethernet-phy@0 {
 85                         compatible = "ethernet-phy-ieee802.3-c22";
 86                         reg = <0>;
 87                         pinctrl-names = "default";
 88                         pinctrl-0 = <&mac0_phy_int_pin>;
 89                         interrupt-parent = <&gpio0>;
 90                         interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
 91                         max-speed = <100>;
 92                 };
 93         };
 94 };
 95 
 96 &pinctrl {
 97         pinctrl-names = "default";
 98         pinctrl-0 = <&hog_pins_a>;
 99 
100         hog_pins_a: hog@0 {
101                 reg = <0>;
102                 fsl,pinmux-ids = <
103                         MX28_PAD_LCD_D17__GPIO_1_17    /* Revision detection */
104                 >;
105                 fsl,drive-strength = <MXS_DRIVE_4mA>;
106                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
107                 fsl,pull-up = <MXS_PULL_DISABLE>;
108         };
109 
110         mac0_phy_reset_pin: mac0-phy-reset@0 {
111                 reg = <0>;
112                 fsl,pinmux-ids = <
113                         MX28_PAD_GPMI_ALE__GPIO_0_26    /* PHY Reset */
114                 >;
115                 fsl,drive-strength = <MXS_DRIVE_4mA>;
116                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
117                 fsl,pull-up = <MXS_PULL_DISABLE>;
118         };
119 
120         mac0_phy_int_pin: mac0-phy-int@0 {
121                 reg = <0>;
122                 fsl,pinmux-ids = <
123                         MX28_PAD_GPMI_D07__GPIO_0_7    /* PHY Interrupt */
124                 >;
125                 fsl,drive-strength = <MXS_DRIVE_4mA>;
126                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
127                 fsl,pull-up = <MXS_PULL_DISABLE>;
128         };
129 
130         led_pins: leds@0 {
131                 reg = <0>;
132                 fsl,pinmux-ids = <
133                         MX28_PAD_SAIF0_MCLK__GPIO_3_20
134                         MX28_PAD_SAIF0_LRCLK__GPIO_3_21
135                 >;
136                 fsl,drive-strength = <MXS_DRIVE_4mA>;
137                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
138                 fsl,pull-up = <MXS_PULL_DISABLE>;
139         };
140 };
141 
142 &ssp0 {
143         compatible = "fsl,imx28-mmc";
144         pinctrl-names = "default";
145         pinctrl-0 = <&mmc0_8bit_pins_a
146                 &mmc0_cd_cfg &mmc0_sck_cfg>;
147         bus-width = <8>;
148         vmmc-supply = <&reg_3p3v>;
149         status = "okay";
150         non-removable;
151 };
152 
153 &ssp2 {
154         compatible = "fsl,imx28-mmc";
155         pinctrl-names = "default";
156         pinctrl-0 = <&mmc2_4bit_pins_b
157                 &mmc2_cd_cfg &mmc2_sck_cfg_b>;
158         bus-width = <4>;
159         vmmc-supply = <&reg_3p3v>;
160         status = "okay";
161 };
162 
163 &usb0 {
164         status = "okay";
165         dr_mode = "peripheral";
166 };
167 
168 &usbphy0 {
169         status = "okay";
170 };

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