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 | ||
28 | hog_pins_a: hog-gpios@0 { | |
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 | }; | |
37 | }; | |
38 | }; | |
39 | ||
40 | apbx@80040000 { | |
41 | i2c0: i2c@80058000 { | |
42 | pinctrl-names = "default"; | |
43 | pinctrl-0 = <&i2c0_pins_a>; | |
44 | status = "okay"; | |
45 | ||
46 | ds1339: rtc@68 { | |
47 | compatible = "mxim,ds1339"; | |
48 | reg = <0x68>; | |
49 | }; | |
50 | }; | |
51 | ||
52 | pwm: pwm@80064000 { | |
53 | pinctrl-names = "default"; | |
54 | pinctrl-0 = <&pwm0_pins_a>; | |
55 | status = "okay"; | |
56 | }; | |
57 | ||
58 | duart: serial@80074000 { | |
59 | pinctrl-names = "default"; | |
60 | pinctrl-0 = <&duart_4pins_a>; | |
61 | status = "okay"; | |
62 | }; | |
63 | ||
64 | auart1: serial@8006c000 { | |
65 | pinctrl-names = "default"; | |
66 | pinctrl-0 = <&auart1_pins_a>; | |
67 | status = "okay"; | |
68 | }; | |
69 | }; | |
70 | }; | |
71 | ||
72 | ahb@80080000 { | |
73 | mac0: ethernet@800f0000 { | |
74 | phy-mode = "rmii"; | |
75 | pinctrl-names = "default"; | |
76 | pinctrl-0 = <&mac0_pins_a>; | |
77 | status = "okay"; | |
78 | }; | |
79 | }; | |
80 | ||
81 | leds { | |
82 | compatible = "gpio-leds"; | |
83 | ||
84 | user { | |
85 | label = "Heartbeat"; | |
86 | gpios = <&gpio4 10 0>; | |
87 | linux,default-trigger = "heartbeat"; | |
88 | }; | |
89 | }; | |
90 | ||
91 | backlight { | |
92 | compatible = "pwm-backlight"; | |
93 | pwms = <&pwm 0 5000000>; | |
94 | brightness-levels = <0 4 8 16 32 64 128 255>; | |
95 | default-brightness-level = <6>; | |
96 | }; | |
97 | }; |