1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2013-2014,2016 Michael Heimpold <mhei@heimpold.de>
4 * Copyright (C) 2015-2017 I2SE GmbH <info@i2se.com>
8 #include <dt-bindings/gpio/gpio.h>
12 model = "I2SE Duckbill";
13 compatible = "i2se,duckbill", "fsl,imx28";
16 device_type = "memory";
17 reg = <0x40000000 0x08000000>;
23 compatible = "fsl,imx28-mmc";
24 pinctrl-names = "default";
25 pinctrl-0 = <&mmc0_4bit_pins_a
26 &mmc0_cd_cfg &mmc0_sck_cfg>;
28 vmmc-supply = <®_3p3v>;
33 compatible = "fsl,imx28-spi";
34 pinctrl-names = "default";
35 pinctrl-0 = <&spi2_pins_a>;
40 pinctrl-names = "default";
41 pinctrl-0 = <&hog_pins_a>;
46 MX28_PAD_LCD_D17__GPIO_1_17 /* Revision detection */
48 fsl,drive-strength = <MXS_DRIVE_4mA>;
49 fsl,voltage = <MXS_VOLTAGE_HIGH>;
50 fsl,pull-up = <MXS_PULL_DISABLE>;
53 mac0_phy_reset_pin: mac0-phy-reset@0 {
56 MX28_PAD_SSP0_DATA7__GPIO_2_7 /* PHY Reset */
58 fsl,drive-strength = <MXS_DRIVE_4mA>;
59 fsl,voltage = <MXS_VOLTAGE_HIGH>;
60 fsl,pull-up = <MXS_PULL_DISABLE>;
66 MX28_PAD_AUART1_RX__GPIO_3_4
67 MX28_PAD_AUART1_TX__GPIO_3_5
69 fsl,drive-strength = <MXS_DRIVE_4mA>;
70 fsl,voltage = <MXS_VOLTAGE_HIGH>;
71 fsl,pull-up = <MXS_PULL_DISABLE>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&i2c0_pins_a>;
87 auart0: serial@8006a000 {
88 pinctrl-names = "default";
89 pinctrl-0 = <&auart0_2pins_a>;
93 duart: serial@80074000 {
94 pinctrl-names = "default";
95 pinctrl-0 = <&duart_pins_a>;
99 usbphy0: usbphy@8007c000 {
108 dr_mode = "peripheral";
111 mac0: ethernet@800f0000 {
113 pinctrl-names = "default";
114 pinctrl-0 = <&mac0_pins_a>, <&mac0_phy_reset_pin>;
115 phy-supply = <®_3p3v>;
116 phy-reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
117 phy-reset-duration = <25>;
122 reg_3p3v: regulator-3p3v {
123 compatible = "regulator-fixed";
124 regulator-name = "3P3V";
125 regulator-min-microvolt = <3300000>;
126 regulator-max-microvolt = <3300000>;
131 compatible = "gpio-leds";
132 pinctrl-names = "default";
133 pinctrl-0 = <&led_pins>;
136 label = "duckbill:red:status";
137 gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
138 linux,default-trigger = "default-on";
142 label = "duckbill:green:status";
143 gpios = <&gpio3 5 GPIO_ACTIVE_HIGH>;
144 linux,default-trigger = "heartbeat";