]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/omap3-n900.dts
arm: dts: tx6: use generic names for regulator nodes
[karo-tx-linux.git] / arch / arm / boot / dts / omap3-n900.dts
1 /*
2  * Copyright (C) 2013 Pavel Machek <pavel@ucw.cz>
3  * Copyright 2013 Aaro Koskinen <aaro.koskinen@iki.fi>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 (or later) as
7  * published by the Free Software Foundation.
8  */
9
10 /dts-v1/;
11
12 #include "omap34xx.dtsi"
13
14 / {
15         model = "Nokia N900";
16         compatible = "nokia,omap3-n900", "ti,omap3";
17
18         cpus {
19                 cpu@0 {
20                         cpu0-supply = <&vcc>;
21                 };
22         };
23
24         memory {
25                 device_type = "memory";
26                 reg = <0x80000000 0x10000000>; /* 256 MB */
27         };
28
29 };
30
31 &i2c1 {
32         clock-frequency = <2200000>;
33
34         twl: twl@48 {
35                 reg = <0x48>;
36                 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
37                 interrupt-parent = <&intc>;
38         };
39 };
40
41 #include "twl4030.dtsi"
42
43 &twl_gpio {
44         ti,pullups      = <0x0>;
45         ti,pulldowns    = <0x03ff3f>; /* BIT(0..5) | BIT(8..17) */
46 };
47
48 &i2c2 {
49         clock-frequency = <400000>;
50 };
51
52 &i2c3 {
53         clock-frequency = <100000>;
54 };
55
56 &mmc1 {
57         status = "disabled";
58 };
59
60 &mmc2 {
61         status = "disabled";
62 };
63
64 &mmc3 {
65         status = "disabled";
66 };
67
68 &mcspi1 {
69         /*
70          * For some reason, touchscreen is necessary for screen to work at
71          * all on real hw. It works well without it on emulator.
72          *
73          * Also... order in the device tree actually matters here.
74          */
75         tsc2005@0 {
76                 compatible = "tsc2005";
77                 spi-max-frequency = <6000000>;
78                 reg = <0>;
79         };
80         mipid@2 {
81                 compatible = "acx565akm";
82                 spi-max-frequency = <6000000>;
83                 reg = <2>;
84         };
85 };
86
87 &usb_otg_hs {
88         interface-type = <0>;
89         usb-phy = <&usb2_phy>;
90         mode = <2>;
91         power = <50>;
92 };