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

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

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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  * Device Tree file for LaCie 5Big Network v2
  4  *
  5  * Copyright (C) 2014
  6  *
  7  * Andrew Lunn <andrew@lunn.ch>
  8  *
  9  * Based on netxbig_v2-setup.c,
 10  * Copyright (C) 2010 Simon Guinot <sguinot@lacie.com>
 11  *
 12 */
 13 
 14 /dts-v1/;
 15 
 16 #include "kirkwood.dtsi"
 17 #include "kirkwood-6281.dtsi"
 18 #include "kirkwood-netxbig.dtsi"
 19 
 20 / {
 21         model = "LaCie 5Big Network v2";
 22         compatible = "lacie,net5big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
 23 
 24         memory {
 25                 device_type = "memory";
 26                 reg = <0x00000000 0x20000000>;
 27         };
 28 
 29 };
 30 
 31 &regulators {
 32         regulator@2 {
 33                 compatible = "regulator-fixed";
 34                 reg = <2>;
 35                 regulator-name = "hdd1power";
 36                 regulator-min-microvolt = <5000000>;
 37                 regulator-max-microvolt = <5000000>;
 38                 enable-active-high;
 39                 regulator-always-on;
 40                 regulator-boot-on;
 41                 gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
 42         };
 43 
 44         regulator@3 {
 45                 compatible = "regulator-fixed";
 46                 reg = <3>;
 47                 regulator-name = "hdd2power";
 48                 regulator-min-microvolt = <5000000>;
 49                 regulator-max-microvolt = <5000000>;
 50                 enable-active-high;
 51                 regulator-always-on;
 52                 regulator-boot-on;
 53                 gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
 54         };
 55 
 56         regulator@4 {
 57                 compatible = "regulator-fixed";
 58                 reg = <4>;
 59                 regulator-name = "hdd3power";
 60                 regulator-min-microvolt = <5000000>;
 61                 regulator-max-microvolt = <5000000>;
 62                 enable-active-high;
 63                 regulator-always-on;
 64                 regulator-boot-on;
 65                 gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>;
 66         };
 67 
 68         regulator@5 {
 69                 compatible = "regulator-fixed";
 70                 reg = <5>;
 71                 regulator-name = "hdd4power";
 72                 regulator-min-microvolt = <5000000>;
 73                 regulator-max-microvolt = <5000000>;
 74                 enable-active-high;
 75                 regulator-always-on;
 76                 regulator-boot-on;
 77                 gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
 78         };
 79 
 80         clocks {
 81                 g762_clk: g762-oscillator {
 82                         compatible = "fixed-clock";
 83                         #clock-cells = <0>;
 84                         clock-frequency = <32768>;
 85                 };
 86         };
 87 
 88         netxbig-leds {
 89                 blue-sata2 {
 90                         label = "netxbig:blue:sata2";
 91                         mode-addr = <5>;
 92                         mode-val = <NETXBIG_LED_OFF 0
 93                                     NETXBIG_LED_ON 7
 94                                     NETXBIG_LED_SATA 1
 95                                     NETXBIG_LED_TIMER1 3>;
 96                         bright-addr = <2>;
 97                         max-brightness = <7>;
 98                 };
 99                 red-sata2 {
100                         label = "netxbig:red:sata2";
101                         mode-addr = <5>;
102                         mode-val = <NETXBIG_LED_OFF 0
103                                     NETXBIG_LED_ON 2
104                                     NETXBIG_LED_TIMER1 4>;
105                         bright-addr = <2>;
106                         max-brightness = <7>;
107                 };
108                 blue-sata3 {
109                         label = "netxbig:blue:sata3";
110                         mode-addr = <6>;
111                         mode-val = <NETXBIG_LED_OFF 0
112                                     NETXBIG_LED_ON 7
113                                     NETXBIG_LED_SATA 1
114                                     NETXBIG_LED_TIMER1 3>;
115                         bright-addr = <2>;
116                         max-brightness = <7>;
117                 };
118                 red-sata3 {
119                         label = "netxbig:red:sata3";
120                         mode-addr = <6>;
121                         mode-val = <NETXBIG_LED_OFF 0
122                                     NETXBIG_LED_ON 2
123                                     NETXBIG_LED_TIMER1 4>;
124                         bright-addr = <2>;
125                         max-brightness = <7>;
126                 };
127                 blue-sata4 {
128                         label = "netxbig:blue:sata4";
129                         mode-addr = <7>;
130                         mode-val = <NETXBIG_LED_OFF 0
131                                     NETXBIG_LED_ON 7
132                                     NETXBIG_LED_SATA 1
133                                     NETXBIG_LED_TIMER1 3>;
134                         bright-addr = <2>;
135                         max-brightness = <7>;
136                 };
137                 red-sata4 {
138                         label = "netxbig:red:sata4";
139                         mode-addr = <7>;
140                         mode-val = <NETXBIG_LED_OFF 0
141                                     NETXBIG_LED_ON 2
142                                     NETXBIG_LED_TIMER1 4>;
143                         bright-addr = <2>;
144                         max-brightness = <7>;
145                 };
146         };
147 };
148 
149 &mdio {
150         ethphy1: ethernet-phy@1 {
151                 reg = <0>;
152         };
153 };
154 
155 &eth1 {
156         status = "okay";
157         ethernet1-port@0 {
158                 phy-handle = <&ethphy1>;
159         };
160 };
161 
162 
163 &i2c0 {
164         g762@3e {
165                 compatible = "gmt,g762";
166                 reg = <0x3e>;
167                 clocks = <&g762_clk>;
168         };
169 };

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