2 * Copyright (C) 2013-2014,2016 Michael Heimpold <mhei@heimpold.de>
3 * Copyright (C) 2015-2017 I2SE GmbH <info@i2se.com>
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
14 #include <dt-bindings/gpio/gpio.h>
18 model = "I2SE Duckbill";
19 compatible = "i2se,duckbill", "fsl,imx28";
22 device_type = "memory";
23 reg = <0x40000000 0x08000000>;
29 compatible = "fsl,imx28-mmc";
30 pinctrl-names = "default";
31 pinctrl-0 = <&mmc0_4bit_pins_a
32 &mmc0_cd_cfg &mmc0_sck_cfg>;
34 vmmc-supply = <®_3p3v>;
39 compatible = "fsl,imx28-spi";
40 pinctrl-names = "default";
41 pinctrl-0 = <&spi2_pins_a>;
46 pinctrl-names = "default";
47 pinctrl-0 = <&hog_pins_a>;
52 MX28_PAD_LCD_D17__GPIO_1_17 /* Revision detection */
54 fsl,drive-strength = <MXS_DRIVE_4mA>;
55 fsl,voltage = <MXS_VOLTAGE_HIGH>;
56 fsl,pull-up = <MXS_PULL_DISABLE>;
59 mac0_phy_reset_pin: mac0-phy-reset@0 {
62 MX28_PAD_SSP0_DATA7__GPIO_2_7 /* PHY Reset */
64 fsl,drive-strength = <MXS_DRIVE_4mA>;
65 fsl,voltage = <MXS_VOLTAGE_HIGH>;
66 fsl,pull-up = <MXS_PULL_DISABLE>;
72 MX28_PAD_AUART1_RX__GPIO_3_4
73 MX28_PAD_AUART1_TX__GPIO_3_5
75 fsl,drive-strength = <MXS_DRIVE_4mA>;
76 fsl,voltage = <MXS_VOLTAGE_HIGH>;
77 fsl,pull-up = <MXS_PULL_DISABLE>;
88 pinctrl-names = "default";
89 pinctrl-0 = <&i2c0_pins_a>;
93 auart0: serial@8006a000 {
94 pinctrl-names = "default";
95 pinctrl-0 = <&auart0_2pins_a>;
99 duart: serial@80074000 {
100 pinctrl-names = "default";
101 pinctrl-0 = <&duart_pins_a>;
105 usbphy0: usbphy@8007c000 {
114 dr_mode = "peripheral";
117 mac0: ethernet@800f0000 {
119 pinctrl-names = "default";
120 pinctrl-0 = <&mac0_pins_a>, <&mac0_phy_reset_pin>;
121 phy-supply = <®_3p3v>;
122 phy-reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
123 phy-reset-duration = <25>;
128 reg_3p3v: regulator-3p3v {
129 compatible = "regulator-fixed";
130 regulator-name = "3P3V";
131 regulator-min-microvolt = <3300000>;
132 regulator-max-microvolt = <3300000>;
137 compatible = "gpio-leds";
138 pinctrl-names = "default";
139 pinctrl-0 = <&led_pins>;
142 label = "duckbill:red:status";
143 gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
144 linux,default-trigger = "default-on";
148 label = "duckbill:green:status";
149 gpios = <&gpio3 5 GPIO_ACTIVE_HIGH>;
150 linux,default-trigger = "heartbeat";