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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/kirkwood-laplug.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  * Copyright (C) 2013 Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
  4  *
  5  */
  6 
  7 /dts-v1/;
  8 
  9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/input/input.h>
 11 #include "kirkwood.dtsi"
 12 #include "kirkwood-6192.dtsi"
 13 
 14 / {
 15         model = "LaCie LaPlug";
 16         compatible = "lacie,laplug", "marvell,kirkwood-88f6192", "marvell,kirkwood";
 17 
 18         memory {
 19                 device_type = "memory";
 20                 reg = <0x00000000 0x8000000>; /* 128 MB */
 21         };
 22 
 23         chosen {
 24                 bootargs = "console=ttyS0,115200n8 earlyprintk";
 25                 stdout-path = &uart0;
 26         };
 27 
 28         ocp@f1000000 {
 29                 serial@12000 {
 30                         status = "okay";
 31                 };
 32 
 33                 i2c@11000 {
 34                         status = "okay";
 35 
 36                         eeprom@50 {
 37                                 compatible = "atmel,24c04";
 38                                 pagesize = <16>;
 39                                 reg = <0x50>;
 40                         };
 41                 };
 42 
 43                 pinctrl: pin-controller@10000 {
 44                         pmx_usb_power_enable: pmx-usb-power-enable {
 45                                 marvell,pins = "mpp14";
 46                                 marvell,function = "gpio";
 47                         };
 48                 };
 49         };
 50 
 51         gpio_keys {
 52                 compatible = "gpio-keys";
 53 
 54                 button-power {
 55                         label = "Power push button";
 56                         linux,code = <KEY_POWER>;
 57                         gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
 58                 };
 59         };
 60 
 61         gpio-leds {
 62                 compatible = "gpio-leds";
 63 
 64                 led-red-fail {
 65                         label = "laplug_v2:red:power";
 66                         gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
 67                 };
 68                 led-blue-power {
 69                         label = "laplug_v2:blue:power";
 70                         gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
 71                         linux,default-trigger = "default-on";
 72                 };
 73         };
 74 
 75         gpio_poweroff {
 76                 compatible = "gpio-poweroff";
 77                 gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
 78         };
 79 
 80         regulators {
 81                 compatible = "simple-bus";
 82                 #address-cells = <1>;
 83                 #size-cells = <0>;
 84                 pinctrl-0 = <&pmx_usb_power_enable>;
 85                 pinctrl-names = "default";
 86 
 87                 usb_power_back1: regulator@1 {
 88                         compatible = "regulator-fixed";
 89                         reg = <1>;
 90                         regulator-name = "USB Power Back 1";
 91                         regulator-min-microvolt = <5000000>;
 92                         regulator-max-microvolt = <5000000>;
 93                         enable-active-high;
 94                         regulator-always-on;
 95                         regulator-boot-on;
 96                         gpio = <&gpio0 15 GPIO_ACTIVE_HIGH>;
 97                 };
 98 
 99                 usb_power_back2: regulator@2 {
100                         compatible = "regulator-fixed";
101                         reg = <2>;
102                         regulator-name = "USB Power Back 2";
103                         regulator-min-microvolt = <5000000>;
104                         regulator-max-microvolt = <5000000>;
105                         enable-active-high;
106                         regulator-always-on;
107                         regulator-boot-on;
108                         gpio = <&gpio0 28 GPIO_ACTIVE_HIGH>;
109                 };
110 
111                 usb_power_front: regulator@3 {
112                         compatible = "regulator-fixed";
113                         reg = <3>;
114                         regulator-name = "USB Power Front";
115                         regulator-min-microvolt = <5000000>;
116                         regulator-max-microvolt = <5000000>;
117                         enable-active-high;
118                         regulator-always-on;
119                         regulator-boot-on;
120                         gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>;
121                 };
122         };
123 };
124 
125 &nand {
126         /* Total size : 512MB */
127         status = "okay";
128 
129         partition@0 {
130                 label = "u-boot";
131                 reg = <0x0 0x100000>; /* 1MB */
132                 read-only;
133         };
134 
135         partition@100000 {
136                 label = "uImage";
137                 reg = <0x100000 0x1000000>; /* 16MB */
138         };
139 
140         partition@1100000 {
141                 label = "rootfs";
142                 reg = <0x1100000 0x1EF00000>; /* 495MB */
143         };
144 };
145 
146 &mdio {
147         status = "okay";
148 
149         ethphy0: ethernet-phy@0 {
150                 device_type = "ethernet-phy";
151                 reg = <0>;
152         };
153 };
154 
155 &eth0 {
156         status = "okay";
157         ethernet0-port@0 {
158                 phy-handle = <&ethphy0>;
159         };
160 };
161 
162 &pciec {
163         status = "okay";
164 };
165 
166 &pcie0 {
167         status = "okay";
168 };

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