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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/intel/ixp/intel-ixp42x-ixdpg425.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: ISC
  2 /*
  3  * Device Tree file for the Intel IXDPG425 reference design.
  4  * Derived from boardfiles written by MontaVista software.
  5  * Ethernet set-up from OpenWrt.
  6  *
  7  * The device has 4 x FXS RJ11 ports for analog phones for
  8  * internet telephony. (Not supported yet.)
  9  *
 10  * The device has 9 status LEDs we do not support yet.
 11  *
 12  * This device is very similar to ADI engingeering Coyote.
 13  */
 14 
 15 /dts-v1/;
 16 
 17 #include "intel-ixp42x.dtsi"
 18 #include <dt-bindings/input/input.h>
 19 
 20 / {
 21         model = "Intel IXDPG425 reference design";
 22         compatible = "intel,ixdpg425", "intel,ixp42x";
 23         #address-cells = <1>;
 24         #size-cells = <1>;
 25 
 26         memory@0 {
 27                 /* 32 MB SDRAM */
 28                 device_type = "memory";
 29                 reg = <0x00000000 0x02000000>;
 30         };
 31 
 32         chosen {
 33                 bootargs = "console=ttyS0,115200n8 root=/dev/sda1 rw rootwait";
 34                 stdout-path = "uart0:115200n8";
 35         };
 36 
 37         aliases {
 38                 serial0 = &uart0;
 39         };
 40 
 41         soc {
 42                 bus@c4000000 {
 43                         flash@0,0 {
 44                                 compatible = "intel,ixp4xx-flash", "cfi-flash";
 45                                 bank-width = <2>;
 46                                 /*
 47                                  * CHECKME: the product brief says 16MB in a flash
 48                                  * socket.
 49                                  */
 50                                 reg = <0 0x00000000 0x1000000>;
 51 
 52                                 /* Configure expansion bus to allow writes */
 53                                 intel,ixp4xx-eb-write-enable = <1>;
 54 
 55                                 partitions {
 56                                         compatible = "redboot-fis";
 57                                         /* CHECKME: guess this is Redboot FIS */
 58                                         fis-index-block = <0x7f>;
 59                                 };
 60                         };
 61                 };
 62 
 63                 pci@c0000000 {
 64                         status = "okay";
 65 
 66                         /*
 67                          * Taken from IXDPG425 PCI boardfile.
 68                          * We have slots (IDSEL) 12, 13 and 14 with one assigned IRQ
 69                          * for 12 & 13 and one for 14.
 70                          */
 71                         #interrupt-cells = <1>;
 72                         interrupt-map-mask = <0xf800 0 0 7>;
 73                         interrupt-map =
 74                         /* IDSEL 12 */
 75                         <0x6000 0 0 1 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 12 is irq 7 */
 76                         <0x6000 0 0 2 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 12 is irq 7 */
 77                         <0x6000 0 0 3 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 12 is irq 7 */
 78                         <0x6000 0 0 4 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT D on slot 12 is irq 7 */
 79                         /* IDSEL 13 */
 80                         <0x6800 0 0 1 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 13 is irq 7 */
 81                         <0x6800 0 0 2 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 13 is irq 7 */
 82                         <0x6800 0 0 3 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 13 is irq 7 */
 83                         <0x6800 0 0 4 &gpio0 7 IRQ_TYPE_LEVEL_LOW>, /* INT D on slot 13 is irq 7 */
 84                         /* IDSEL 14 */
 85                         <0x7000 0 0 1 &gpio0 6 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 14 is irq 6 */
 86                         <0x7000 0 0 2 &gpio0 6 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 14 is irq 6 */
 87                         <0x7000 0 0 3 &gpio0 6 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 14 is irq 6 */
 88                         <0x7000 0 0 4 &gpio0 6 IRQ_TYPE_LEVEL_LOW>; /* INT D on slot 14 is irq 6 */
 89                 };
 90 
 91                 /*
 92                  * CHECKME: this ethernet setup seems dubious. Photos of the board shows some kind
 93                  * of Realtek DSA switch on the board.
 94                  */
 95 
 96                 /* EthB */
 97                 ethernet@c8009000 {
 98                         status = "okay";
 99                         queue-rx = <&qmgr 3>;
100                         queue-txready = <&qmgr 20>;
101                         phy-mode = "rgmii";
102                         phy-handle = <&phy5>;
103 
104                         mdio {
105                                 #address-cells = <1>;
106                                 #size-cells = <0>;
107 
108                                 phy4: ethernet-phy@4 {
109                                         reg = <4>;
110                                 };
111 
112                                 phy5: ethernet-phy@5 {
113                                         reg = <5>;
114                                 };
115                         };
116                 };
117 
118                 /* EthC */
119                 ethernet@c800a000 {
120                         status = "okay";
121                         queue-rx = <&qmgr 4>;
122                         queue-txready = <&qmgr 21>;
123                         phy-mode = "rgmii";
124                         phy-handle = <&phy4>;
125                 };
126         };
127 };

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