Commit | Line | Data |
---|---|---|
e1a4d18f SG |
1 | /dts-v1/; |
2 | /include/ "imx28.dtsi" | |
3 | ||
4 | / { | |
5 | model = "Ka-Ro electronics TX28 module"; | |
6 | compatible = "karo,tx28", "fsl,imx28"; | |
7 | ||
8 | memory { | |
9 | reg = <0x40000000 0x08000000>; | |
10 | }; | |
11 | ||
12 | apb@80000000 { | |
13 | apbh@80000000 { | |
14 | ssp0: ssp@80010000 { | |
15 | compatible = "fsl,imx28-mmc"; | |
16 | pinctrl-names = "default"; | |
17 | pinctrl-0 = <&mmc0_4bit_pins_a | |
18 | &mmc0_cd_cfg | |
19 | &mmc0_sck_cfg>; | |
20 | bus-width = <4>; | |
21 | status = "okay"; | |
22 | }; | |
23 | ||
24 | pinctrl@80018000 { | |
25 | pinctrl-names = "default"; | |
26 | pinctrl-0 = <&hog_pins_a>; | |
27 | ||
e0e35b48 | 28 | hog_pins_a: hog@0 { |
e1a4d18f SG |
29 | reg = <0>; |
30 | fsl,pinmux-ids = < | |
31 | 0x40a3 /* MX28_PAD_ENET0_RXD3__GPIO_4_10 */ | |
32 | >; | |
33 | fsl,drive-strength = <0>; | |
34 | fsl,voltage = <1>; | |
35 | fsl,pull-up = <0>; | |
36 | }; | |
2c7c2c1d SG |
37 | |
38 | mac0_pins_gpio: mac0-gpio-mode@0 { | |
39 | reg = <0>; | |
40 | fsl,pinmux-ids = < | |
41 | 0x4003 /* MX28_PAD_ENET0_MDC__GPIO_4_0 */ | |
42 | 0x4013 /* MX28_PAD_ENET0_MDIO__GPIO_4_1 */ | |
43 | 0x4023 /* MX28_PAD_ENET0_RX_EN__GPIO_4_2 */ | |
44 | 0x4033 /* MX28_PAD_ENET0_RXD0__GPIO_4_3 */ | |
45 | 0x4043 /* MX28_PAD_ENET0_RXD1__GPIO_4_4 */ | |
46 | 0x4063 /* MX28_PAD_ENET0_TX_EN__GPIO_4_6 */ | |
47 | 0x4073 /* MX28_PAD_ENET0_TXD0__GPIO_4_7 */ | |
48 | 0x4083 /* MX28_PAD_ENET0_TXD1__GPIO_4_8 */ | |
49 | 0x4103 /* MX28_PAD_ENET_CLK__GPIO_4_16 */ | |
50 | >; | |
51 | fsl,drive-strength = <0>; | |
52 | fsl,voltage = <1>; | |
53 | fsl,pull-up = <0>; | |
54 | }; | |
e1a4d18f SG |
55 | }; |
56 | }; | |
57 | ||
58 | apbx@80040000 { | |
59 | i2c0: i2c@80058000 { | |
60 | pinctrl-names = "default"; | |
61 | pinctrl-0 = <&i2c0_pins_a>; | |
62 | status = "okay"; | |
63 | ||
64 | ds1339: rtc@68 { | |
65 | compatible = "mxim,ds1339"; | |
66 | reg = <0x68>; | |
67 | }; | |
68 | }; | |
69 | ||
70 | pwm: pwm@80064000 { | |
71 | pinctrl-names = "default"; | |
72 | pinctrl-0 = <&pwm0_pins_a>; | |
73 | status = "okay"; | |
74 | }; | |
75 | ||
76 | duart: serial@80074000 { | |
77 | pinctrl-names = "default"; | |
78 | pinctrl-0 = <&duart_4pins_a>; | |
79 | status = "okay"; | |
80 | }; | |
81 | ||
82 | auart1: serial@8006c000 { | |
83 | pinctrl-names = "default"; | |
84 | pinctrl-0 = <&auart1_pins_a>; | |
85 | status = "okay"; | |
86 | }; | |
87 | }; | |
88 | }; | |
89 | ||
90 | ahb@80080000 { | |
91 | mac0: ethernet@800f0000 { | |
92 | phy-mode = "rmii"; | |
2c7c2c1d | 93 | pinctrl-names = "default", "gpio_mode"; |
e1a4d18f | 94 | pinctrl-0 = <&mac0_pins_a>; |
2c7c2c1d | 95 | pinctrl-1 = <&mac0_pins_gpio>; |
e1a4d18f SG |
96 | status = "okay"; |
97 | }; | |
98 | }; | |
99 | ||
100 | leds { | |
101 | compatible = "gpio-leds"; | |
102 | ||
103 | user { | |
104 | label = "Heartbeat"; | |
105 | gpios = <&gpio4 10 0>; | |
106 | linux,default-trigger = "heartbeat"; | |
107 | }; | |
108 | }; | |
109 | ||
110 | backlight { | |
111 | compatible = "pwm-backlight"; | |
112 | pwms = <&pwm 0 5000000>; | |
113 | brightness-levels = <0 4 8 16 32 64 128 255>; | |
114 | default-brightness-level = <6>; | |
115 | }; | |
116 | }; |