~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/marvell/kirkwood-openblocks_a7.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Device Tree file for OpenBlocks A7 board
  4  *
  5  * Copyright (C) 2013 Free Electrons
  6  *
  7  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  8  *
  9  */
 10 
 11 /dts-v1/;
 12 
 13 #include "kirkwood.dtsi"
 14 #include "kirkwood-6282.dtsi"
 15 
 16 / {
 17         model = "Plat'Home OpenBlocksA7";
 18         compatible = "plathome,openblocks-a7", "marvell,kirkwood-88f6283", "marvell,kirkwood";
 19 
 20         memory {
 21                 device_type = "memory";
 22                 reg = <0x00000000 0x40000000>; /* 1 GB */
 23         };
 24 
 25         chosen {
 26                 bootargs = "console=ttyS0,115200n8 earlyprintk";
 27                 stdout-path = &uart0;
 28         };
 29 
 30         ocp@f1000000 {
 31                 serial@12000 {
 32                         status = "okay";
 33                 };
 34 
 35                 serial@12100 {
 36                         status = "okay";
 37                 };
 38 
 39                 sata@80000 {
 40                         nr-ports = <1>;
 41                         status = "okay";
 42                 };
 43 
 44                 i2c@11100 {
 45                         status = "okay";
 46 
 47                         s24c02: s24c02@50 {
 48                                 compatible = "atmel,24c02";
 49                                 reg = <0x50>;
 50                         };
 51                 };
 52 
 53                 pinctrl: pin-controller@10000 {
 54                         pinctrl-0 = <&pmx_dip_switches &pmx_gpio_header
 55                                      &pmx_gpio_header_gpo>;
 56                         pinctrl-names = "default";
 57 
 58                         pmx_uart0: pmx-uart0 {
 59                                 marvell,pins = "mpp10", "mpp11", "mpp15",
 60                                         "mpp16";
 61                                 marvell,function = "uart0";
 62                         };
 63 
 64                         pmx_uart1: pmx-uart1 {
 65                                 marvell,pins = "mpp13", "mpp14", "mpp8",
 66                                         "mpp9";
 67                                 marvell,function = "uart1";
 68                         };
 69 
 70                         pmx_sysrst: pmx-sysrst {
 71                                 marvell,pins = "mpp6";
 72                                 marvell,function = "sysrst";
 73                         };
 74 
 75                         pmx_dip_switches: pmx-dip-switches {
 76                                 marvell,pins = "mpp44", "mpp45", "mpp46", "mpp47";
 77                                 marvell,function = "gpio";
 78                         };
 79 
 80                         /*
 81                          * Accessible on connector J202. The MPP
 82                          * listed below are pin 1-7, pin 8 is unused,
 83                          * pin 9 is external reset input and pin 10 is
 84                          * ground.
 85                          */
 86                         pmx_gpio_header: pmx-gpio-header {
 87                                 marvell,pins = "mpp17", "mpp29", "mpp28",
 88                                                "mpp35", "mpp34", "mpp40";
 89                                 marvell,function = "gpio";
 90                         };
 91 
 92                         pmx_gpio_header_gpo: pxm-gpio-header-gpo {
 93                                 marvell,pins = "mpp7";
 94                                 marvell,function = "gpo";
 95                         };
 96 
 97                         pmx_gpio_init: pmx-init {
 98                                 marvell,pins = "mpp38";
 99                                 marvell,function = "gpio";
100                         };
101 
102                         pmx_usb_oc: pmx-usb-oc {
103                                 marvell,pins = "mpp39";
104                                 marvell,function = "gpio";
105                         };
106 
107                         pmx_leds: pmx-leds {
108                                 marvell,pins = "mpp41", "mpp42", "mpp43";
109                                 marvell,function = "gpio";
110                         };
111                 };
112         };
113 
114         gpio-leds {
115                 compatible = "gpio-leds";
116                 pinctrl-0 = <&pmx_leds>;
117                 pinctrl-names = "default";
118 
119                 led-red {
120                         label = "obsa7:red:stat";
121                         gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
122                 };
123 
124                 led-green {
125                         label = "obsa7:green:stat";
126                         gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
127                 };
128 
129                 led-yellow {
130                         label = "obsa7:yellow:stat";
131                         gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
132                 };
133         };
134 
135         gpio_keys {
136                 compatible = "gpio-keys";
137                 pinctrl-0 = <&pmx_gpio_init>;
138                 pinctrl-names = "default";
139 
140                 button {
141                         label = "Init Button";
142                         linux,code = <KEY_POWER>;
143                         gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
144                 };
145         };
146 };
147 
148 &nand {
149         chip-delay = <25>;
150         status = "okay";
151 
152         partition@0 {
153                 label = "uboot";
154                 reg = <0x0 0x1c0000>;
155         };
156 
157         partition@1c0000 {
158                 label = "env";
159                 reg = <0x1c0000 0x2c0000>;
160         };
161 
162         partition@480000 {
163                 label = "test";
164                 reg = <0x480000 0x160000>;
165         };
166 
167         partition@5e0000 {
168                 label = "conf";
169                 reg = <0x5e0000 0x540000>;
170         };
171 
172         partition@b20000 {
173                 label = "linux";
174                 reg = <0xb20000 0x3d40000>;
175         };
176 
177         partition@4860000 {
178                 label = "user";
179                 reg = <0x4860000 0xb7a0000>;
180         };
181 };
182 
183 &mdio {
184         status = "okay";
185 
186         ethphy0: ethernet-phy@0 {
187                 reg = <0>;
188         };
189 
190         ethphy1: ethernet-phy@1 {
191                 reg = <1>;
192         };
193 };
194 
195 &eth0 {
196         status = "okay";
197         ethernet0-port@0 {
198                 phy-handle = <&ethphy0>;
199         };
200 };
201 
202 &eth1 {
203         status = "okay";
204         ethernet1-port@0 {
205                 phy-handle = <&ethphy1>;
206         };
207 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php