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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/armada-xp-axpwifiap.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+ OR MIT)
  2 /*
  3  * Device Tree file for Marvell RD-AXPWiFiAP.
  4  *
  5  * Note: this board is shipped with a new generation boot loader that
  6  * remaps internal registers at 0xf1000000. Therefore, if earlyprintk
  7  * is used, the CONFIG_DEBUG_MVEBU_UART0_ALTERNATE option or the
  8  * CONFIG_DEBUG_MVEBU_UART1_ALTERNATE option should be used.
  9  *
 10  * Copyright (C) 2013 Marvell
 11  *
 12  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 13  */
 14 
 15 /dts-v1/;
 16 #include <dt-bindings/gpio/gpio.h>
 17 #include <dt-bindings/input/input.h>
 18 #include "armada-xp-mv78230.dtsi"
 19 
 20 / {
 21         model = "Marvell RD-AXPWiFiAP";
 22         compatible = "marvell,rd-axpwifiap", "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp";
 23 
 24         chosen {
 25                 stdout-path = "serial0:115200n8";
 26         };
 27 
 28         memory@0 {
 29                 device_type = "memory";
 30                 reg = <0x00000000 0x00000000 0x00000000 0x40000000>; /* 1GB */
 31         };
 32 
 33         soc {
 34                 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000
 35                           MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
 36                           MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
 37                           MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>;
 38 
 39                 internal-regs {
 40                         /* UART0 */
 41                         serial@12000 {
 42                                 status = "okay";
 43                         };
 44 
 45                         /* UART1 */
 46                         serial@12100 {
 47                                 status = "okay";
 48                         };
 49 
 50                         sata@a0000 {
 51                                 nr-ports = <1>;
 52                                 status = "okay";
 53                         };
 54 
 55                         ethernet@70000 {
 56                                 pinctrl-0 = <&ge0_rgmii_pins>;
 57                                 pinctrl-names = "default";
 58                                 status = "okay";
 59                                 phy = <&phy0>;
 60                                 phy-mode = "rgmii-id";
 61                         };
 62                         ethernet@74000 {
 63                                 pinctrl-0 = <&ge1_rgmii_pins>;
 64                                 pinctrl-names = "default";
 65                                 status = "okay";
 66                                 phy = <&phy1>;
 67                                 phy-mode = "rgmii-id";
 68                         };
 69                 };
 70         };
 71 
 72         gpio-keys {
 73                 compatible = "gpio-keys";
 74                 pinctrl-0 = <&keys_pin>;
 75                 pinctrl-names = "default";
 76 
 77                 button-reset {
 78                         label = "Factory Reset Button";
 79                         linux,code = <KEY_SETUP>;
 80                         gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
 81                 };
 82         };
 83 };
 84 
 85 &mdio {
 86         phy0: ethernet-phy@0 {
 87                 reg = <0>;
 88         };
 89 
 90         phy1: ethernet-phy@1 {
 91                 reg = <1>;
 92         };
 93 };
 94 
 95 &pciec {
 96         status = "okay";
 97 
 98         /* First mini-PCIe port */
 99         pcie@1,0 {
100                 /* Port 0, Lane 0 */
101                 status = "okay";
102         };
103 
104         /* Second mini-PCIe port */
105         pcie@2,0 {
106                 /* Port 0, Lane 1 */
107                 status = "okay";
108         };
109 
110         /* Renesas uPD720202 USB 3.0 controller */
111         pcie@3,0 {
112                 /* Port 0, Lane 3 */
113                 status = "okay";
114         };
115 };
116 
117 &pinctrl {
118         pinctrl-0 = <&phy_int_pin>;
119         pinctrl-names = "default";
120 
121         keys_pin: keys-pin {
122                 marvell,pins = "mpp33";
123                 marvell,function = "gpio";
124         };
125 
126         phy_int_pin: phy-int-pin {
127                 marvell,pins = "mpp32";
128                 marvell,function = "gpio";
129         };
130 };
131 
132 &spi0 {
133         status = "okay";
134 
135         flash@0 {
136                 #address-cells = <1>;
137                 #size-cells = <1>;
138                 compatible = "n25q128a13", "jedec,spi-nor";
139                 reg = <0>; /* Chip select 0 */
140                 spi-max-frequency = <108000000>;
141         };
142 };

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