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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/kirkwood-nas2big.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 LaCie 2Big NAS
  4  *
  5  * Copyright (C) 2015 Seagate
  6  *
  7  * Author: Simon Guinot <simon.guinot@sequanux.org>
  8  *
  9 */
 10 
 11 /dts-v1/;
 12 
 13 #include "kirkwood-netxbig.dtsi"
 14 
 15 / {
 16         model = "LaCie 2Big NAS";
 17         compatible = "lacie,nas2big", "lacie,netxbig", "marvell,kirkwood-88f6282", "marvell,kirkwood";
 18 
 19         memory {
 20                 device_type = "memory";
 21                 reg = <0x00000000 0x10000000>;
 22         };
 23 
 24         chosen {
 25                 bootargs = "console=ttyS0,115200n8";
 26                 stdout-path = &uart0;
 27         };
 28 
 29         ocp@f1000000 {
 30                 rtc@10300 {
 31                         /* The on-chip RTC is not powered (no supercap). */
 32                         status = "disabled";
 33                 };
 34                 spi@10600 {
 35                         /*
 36                          * A NAND flash is used instead of an SPI flash for
 37                          * the other netxbig-compatible boards.
 38                          */
 39                         status = "disabled";
 40                 };
 41         };
 42 
 43         fan {
 44                 /*
 45                  * An I2C fan controller (GMT G762) is used but alarm is
 46                  * wired to a separate GPIO.
 47                  */
 48                 compatible = "gpio-fan";
 49                 alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
 50         };
 51 
 52         regulators: regulators {
 53                 status = "okay";
 54                 compatible = "simple-bus";
 55                 #address-cells = <1>;
 56                 #size-cells = <0>;
 57                 pinctrl-names = "default";
 58 
 59                 regulator@2 {
 60                         compatible = "regulator-fixed";
 61                         reg = <2>;
 62                         regulator-name = "hdd1power";
 63                         regulator-min-microvolt = <5000000>;
 64                         regulator-max-microvolt = <5000000>;
 65                         enable-active-high;
 66                         regulator-always-on;
 67                         regulator-boot-on;
 68                         gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
 69                 };
 70                 clocks {
 71                         g762_clk: g762-oscillator {
 72                                 compatible = "fixed-clock";
 73                                 #clock-cells = <0>;
 74                                 clock-frequency = <32768>;
 75                         };
 76                 };
 77         };
 78 };
 79 
 80 &mdio {
 81         status = "okay";
 82 
 83         ethphy0: ethernet-phy@0 {
 84                 reg = <0>;
 85         };
 86 };
 87 
 88 &i2c0 {
 89         status = "okay";
 90 
 91         /*
 92          * An external I2C RTC (Dallas DS1337S+) is used. This allows
 93          * to power-up the board on an RTC alarm. The external RTC can
 94          * be kept powered, even when the SoC is off.
 95          */
 96         rtc@68 {
 97                 compatible = "dallas,ds1307";
 98                 reg = <0x68>;
 99                 interrupts = <43>;
100         };
101         g762@3e {
102                 compatible = "gmt,g762";
103                 reg = <0x3e>;
104                 clocks = <&g762_clk>;
105         };
106 };
107 
108 &nand {
109         chip-delay = <50>;
110         status = "okay";
111 
112         partition@0 {
113                 label = "U-Boot";
114                 reg = <0x0 0x100000>;
115         };
116 
117         partition@100000 {
118                 label = "uImage";
119                 reg = <0x100000 0x1000000>;
120         };
121 
122         partition@1100000 {
123                 label = "root";
124                 reg = <0x1100000 0x8000000>;
125         };
126 
127         partition@9100000 {
128                 label = "unused";
129                 reg = <0x9100000 0x6f00000>;
130         };
131 };
132 
133 &pciec {
134         status = "okay";
135 };
136 
137 &pcie0 {
138         status = "okay";
139 };

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