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

TOMOYO Linux Cross Reference
Linux/arch/powerpc/boot/dts/o2d.dtsi

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-later
  2 /*
  3  * O2D base Device Tree Source
  4  *
  5  * Copyright (C) 2012 DENX Software Engineering
  6  * Anatolij Gustschin <agust@denx.de>
  7  */
  8 
  9 /include/ "mpc5200b.dtsi"
 10 
 11 &gpt0 {
 12         gpio-controller;
 13         fsl,has-wdt;
 14         fsl,wdt-on-boot = <0>;
 15 };
 16 &gpt1 { gpio-controller; };
 17 
 18 / {
 19         model = "ifm,o2d";
 20         compatible = "ifm,o2d";
 21 
 22         memory@0 {
 23                 reg = <0x00000000 0x04000000>;  // 64MB
 24         };
 25 
 26         soc5200@f0000000 {
 27 
 28                 rtc@800 {
 29                         status = "disabled";
 30                 };
 31 
 32                 psc@2000 {              // PSC1
 33                         compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
 34                         #address-cells = <1>;
 35                         #size-cells = <0>;
 36                         cell-index = <0>;
 37                 };
 38 
 39                 psc@2200 {              // PSC2
 40                         status = "disabled";
 41                 };
 42 
 43                 psc@2400 {              // PSC3
 44                         status = "disabled";
 45                 };
 46 
 47                 psc@2600 {              // PSC4
 48                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 49                 };
 50 
 51                 psc@2800 {              // PSC5
 52                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 53                 };
 54 
 55                 psc@2c00 {              // PSC6
 56                         status = "disabled";
 57                 };
 58 
 59                 ethernet@3000 {
 60                         phy-handle = <&phy0>;
 61                 };
 62 
 63                 mdio@3000 {
 64                         phy0: ethernet-phy@0 {
 65                                 reg = <0>;
 66                         };
 67                 };
 68         };
 69 
 70         localbus {
 71                 ranges = <0 0 0xff000000 0x01000000
 72                           3 0 0xe3000000 0x00100000>;
 73 
 74                 // flash device at LocalPlus Bus CS0
 75                 flash@0,0 {
 76                         compatible = "cfi-flash";
 77                         reg = <0 0 0x01000000>;
 78                         bank-width = <1>;
 79                         device-width = <2>;
 80                         #size-cells = <1>;
 81                         #address-cells = <1>;
 82                         no-unaligned-direct-access;
 83 
 84                         /* common layout for all machines */
 85                         partition@0 {
 86                                 label = "u-boot";
 87                                 reg = <0x00000000 0x00040000>;
 88                                 read-only;
 89                         };
 90                         partition@40000 {
 91                                 label = "env";
 92                                 reg = <0x00040000 0x00020000>;
 93                                 read-only;
 94                         };
 95                 };
 96 
 97                 csi@3,0 {
 98                         compatible = "ifm,o2d-csi";
 99                         reg = <3 0 0x00100000>;
100                         ifm,csi-clk-handle = <&gpt7>;
101                         gpios = <&gpio_simple 23 0      /* imag_capture */
102                                  &gpio_simple 26 0      /* imag_reset */
103                                  &gpio_simple 29 0>;    /* imag_master_en */
104 
105                         interrupts = <1 1 2>;           /* IRQ1, edge falling */
106 
107                         ifm,csi-addr-bus-width = <24>;
108                         ifm,csi-data-bus-width = <8>;
109                         ifm,csi-wait-cycles = <0>;
110                 };
111         };
112 };

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