]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi
Merge tag 'boards-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[karo-tx-linux.git] / arch / arm / boot / dts / kirkwood-sheevaplug-common.dtsi
1 /*
2  * kirkwood-sheevaplug-common.dts - Common parts for Sheevaplugs
3  *
4  * Copyright (C) 2013 Simon Baatz <gmbnomis@gmail.com>
5  *
6  * Licensed under GPLv2
7  */
8
9 #include "kirkwood.dtsi"
10 #include "kirkwood-6281.dtsi"
11
12 / {
13         memory {
14                 device_type = "memory";
15                 reg = <0x00000000 0x20000000>;
16         };
17
18         chosen {
19                 bootargs = "console=ttyS0,115200n8 earlyprintk";
20         };
21
22         ocp@f1000000 {
23                 pinctrl: pinctrl@10000 {
24
25                         pmx_usb_power_enable: pmx-usb-power-enable {
26                                 marvell,pins = "mpp29";
27                                 marvell,function = "gpio";
28                         };
29                         pmx_led_red: pmx-led-red {
30                                 marvell,pins = "mpp46";
31                                 marvell,function = "gpio";
32                         };
33                         pmx_led_blue: pmx-led-blue {
34                                 marvell,pins = "mpp49";
35                                 marvell,function = "gpio";
36                         };
37                         pmx_sdio_cd: pmx-sdio-cd {
38                                 marvell,pins = "mpp44";
39                                 marvell,function = "gpio";
40                         };
41                         pmx_sdio_wp: pmx-sdio-wp {
42                                 marvell,pins = "mpp47";
43                                 marvell,function = "gpio";
44                         };
45                 };
46                 serial@12000 {
47                         pinctrl-0 = <&pmx_uart0>;
48                         pinctrl-names = "default";
49                         status = "okay";
50                 };
51
52                 nand@3000000 {
53                         pinctrl-0 = <&pmx_nand>;
54                         pinctrl-names = "default";
55                         status = "okay";
56
57                         partition@0 {
58                                 label = "u-boot";
59                                 reg = <0x0000000 0x100000>;
60                         };
61
62                         partition@100000 {
63                                 label = "uImage";
64                                 reg = <0x0100000 0x400000>;
65                         };
66
67                         partition@500000 {
68                                 label = "root";
69                                 reg = <0x0500000 0x1fb00000>;
70                         };
71                 };
72         };
73
74         regulators {
75                 compatible = "simple-bus";
76                 #address-cells = <1>;
77                 #size-cells = <0>;
78                 pinctrl-0 = <&pmx_usb_power_enable>;
79                 pinctrl-names = "default";
80
81                 usb_power: regulator@1 {
82                         compatible = "regulator-fixed";
83                         reg = <1>;
84                         regulator-name = "USB Power";
85                         regulator-min-microvolt = <5000000>;
86                         regulator-max-microvolt = <5000000>;
87                         enable-active-high;
88                         regulator-always-on;
89                         regulator-boot-on;
90                         gpio = <&gpio0 29 0>;
91                 };
92         };
93 };
94
95 &mdio {
96         status = "okay";
97
98         ethphy0: ethernet-phy@0 {
99                 device_type = "ethernet-phy";
100                 reg = <0>;
101         };
102 };
103
104 &eth0 {
105         status = "okay";
106         ethernet0-port@0 {
107                 phy-handle = <&ethphy0>;
108         };
109 };