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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/kirkwood-openrd.dtsi

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Marvell OpenRD (Base|Client|Ultimate) Board Description
  4  *
  5  * Andrew Lunn <andrew@lunn.ch>
  6  *
  7  * This file contains the definitions that are common between the three
  8  * variants of the Marvell Kirkwood Development Board.
  9  */
 10 
 11 #include "kirkwood.dtsi"
 12 #include "kirkwood-6281.dtsi"
 13 
 14 / {
 15         memory {
 16                 device_type = "memory";
 17                 reg = <0x00000000 0x20000000>;
 18         };
 19 
 20         chosen {
 21                 bootargs = "console=ttyS0,115200n8";
 22                 stdout-path = &uart0;
 23         };
 24 
 25         ocp@f1000000 {
 26                 pinctrl: pin-controller@10000 {
 27                         pinctrl-0 = <&pmx_select28 &pmx_sdio_cd &pmx_select34>;
 28                         pinctrl-names = "default";
 29 
 30                         pmx_select28: pmx-select-rs232-rs485 {
 31                                 marvell,pins = "mpp28";
 32                                 marvell,function = "gpio";
 33                         };
 34                         pmx_sdio_cd: pmx-sdio-cd {
 35                                 marvell,pins = "mpp29";
 36                                 marvell,function = "gpio";
 37                         };
 38                         pmx_select34: pmx-select-uart-sd {
 39                                 marvell,pins = "mpp34";
 40                                 marvell,function = "gpio";
 41                         };
 42                 };
 43                 serial@12000 {
 44                         status = "okay";
 45 
 46                 };
 47                 sata@80000 {
 48                         status = "okay";
 49                         nr-ports = <2>;
 50                 };
 51                 mvsdio@90000 {
 52                         status = "okay";
 53                         cd-gpios = <&gpio0 29 9>;
 54                 };
 55                 gpio@10100 {
 56                         p28 {
 57                                 gpio-hog;
 58                                 gpios = <28 GPIO_ACTIVE_HIGH>;
 59                                 /*
 60                                  * SelRS232or485 selects between RS-232 or RS-485
 61                                  * mode for the second UART.
 62                                  *
 63                                  * Low: RS-232
 64                                  * High: RS-485
 65                                  *
 66                                  * To use the second UART, you need to change also
 67                                  * the SelUARTorSD.
 68                                  */
 69                                 output-low;
 70                                 line-name = "SelRS232or485";
 71                         };
 72                 };
 73                 gpio@10140 {
 74                         p2 {
 75                                 gpio-hog;
 76                                 gpios = <2 GPIO_ACTIVE_HIGH>;
 77                                 /*
 78                                  * SelUARTorSD selects between the second UART
 79                                  * (serial@12100) and SD (mvsdio@90000).
 80                                  *
 81                                  * Low: UART
 82                                  * High: SD
 83                                  *
 84                                  * When changing this line make sure the newly
 85                                  * selected device node is enabled and the
 86                                  * previously selected device node is disabled.
 87                                  */
 88                                 output-high; /* Select SD by default */
 89                                 line-name = "SelUARTorSD";
 90                         };
 91                 };
 92         };
 93 };
 94 
 95 &nand {
 96         status = "okay";
 97         pinctrl-0 = <&pmx_nand>;
 98         pinctrl-names = "default";
 99 
100         partition@0 {
101                 label = "u-boot";
102                 reg = <0x0000000 0x100000>;
103         };
104 
105         partition@100000 {
106                 label = "uImage";
107                 reg = <0x0100000 0x400000>;
108         };
109 
110         partition@600000 {
111                 label = "root";
112                 reg = <0x0600000 0x1FA00000>;
113         };
114 };
115 
116 &pciec {
117         status = "okay";
118 };
119 
120 &pcie0 {
121         status = "okay";
122 };

~ [ 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