2012-07-09 04:34:35 +00:00
|
|
|
/dts-v1/;
|
|
|
|
/include/ "imx28.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Ka-Ro electronics TX28 module";
|
|
|
|
compatible = "karo,tx28", "fsl,imx28";
|
|
|
|
|
|
|
|
memory {
|
|
|
|
reg = <0x40000000 0x08000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
apb@80000000 {
|
|
|
|
apbh@80000000 {
|
|
|
|
ssp0: ssp@80010000 {
|
|
|
|
compatible = "fsl,imx28-mmc";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&mmc0_4bit_pins_a
|
|
|
|
&mmc0_cd_cfg
|
|
|
|
&mmc0_sck_cfg>;
|
|
|
|
bus-width = <4>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl@80018000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&hog_pins_a>;
|
|
|
|
|
2012-08-22 16:25:31 +00:00
|
|
|
hog_pins_a: hog@0 {
|
2012-07-09 04:34:35 +00:00
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
|
|
|
0x40a3 /* MX28_PAD_ENET0_RXD3__GPIO_4_10 */
|
|
|
|
>;
|
|
|
|
fsl,drive-strength = <0>;
|
|
|
|
fsl,voltage = <1>;
|
|
|
|
fsl,pull-up = <0>;
|
|
|
|
};
|
2012-07-13 06:15:34 +00:00
|
|
|
|
|
|
|
mac0_pins_gpio: mac0-gpio-mode@0 {
|
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
|
|
|
0x4003 /* MX28_PAD_ENET0_MDC__GPIO_4_0 */
|
|
|
|
0x4013 /* MX28_PAD_ENET0_MDIO__GPIO_4_1 */
|
|
|
|
0x4023 /* MX28_PAD_ENET0_RX_EN__GPIO_4_2 */
|
|
|
|
0x4033 /* MX28_PAD_ENET0_RXD0__GPIO_4_3 */
|
|
|
|
0x4043 /* MX28_PAD_ENET0_RXD1__GPIO_4_4 */
|
|
|
|
0x4063 /* MX28_PAD_ENET0_TX_EN__GPIO_4_6 */
|
|
|
|
0x4073 /* MX28_PAD_ENET0_TXD0__GPIO_4_7 */
|
|
|
|
0x4083 /* MX28_PAD_ENET0_TXD1__GPIO_4_8 */
|
|
|
|
0x4103 /* MX28_PAD_ENET_CLK__GPIO_4_16 */
|
|
|
|
>;
|
|
|
|
fsl,drive-strength = <0>;
|
|
|
|
fsl,voltage = <1>;
|
|
|
|
fsl,pull-up = <0>;
|
|
|
|
};
|
2012-07-09 04:34:35 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
apbx@80040000 {
|
|
|
|
i2c0: i2c@80058000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c0_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
ds1339: rtc@68 {
|
|
|
|
compatible = "mxim,ds1339";
|
|
|
|
reg = <0x68>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm: pwm@80064000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pwm0_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
duart: serial@80074000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&duart_4pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
auart1: serial@8006c000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&auart1_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ahb@80080000 {
|
|
|
|
mac0: ethernet@800f0000 {
|
|
|
|
phy-mode = "rmii";
|
2012-07-13 06:15:34 +00:00
|
|
|
pinctrl-names = "default", "gpio_mode";
|
2012-07-09 04:34:35 +00:00
|
|
|
pinctrl-0 = <&mac0_pins_a>;
|
2012-07-13 06:15:34 +00:00
|
|
|
pinctrl-1 = <&mac0_pins_gpio>;
|
2012-07-09 04:34:35 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
user {
|
|
|
|
label = "Heartbeat";
|
|
|
|
gpios = <&gpio4 10 0>;
|
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
backlight {
|
|
|
|
compatible = "pwm-backlight";
|
|
|
|
pwms = <&pwm 0 5000000>;
|
|
|
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
|
|
|
default-brightness-level = <6>;
|
|
|
|
};
|
|
|
|
};
|