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

TOMOYO Linux Cross Reference
Linux/arch/loongarch/boot/dts/loongson-2k0500-ref.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  * Copyright (C) 2023 Loongson Technology Corporation Limited
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include "loongson-2k0500.dtsi"
  9 
 10 / {
 11         compatible = "loongson,ls2k0500-ref", "loongson,ls2k0500";
 12         model = "Loongson-2K0500 Reference Board";
 13 
 14         aliases {
 15                 ethernet0 = &gmac0;
 16                 ethernet1 = &gmac1;
 17                 serial0 = &uart0;
 18         };
 19 
 20         chosen {
 21                 stdout-path = "serial0:115200n8";
 22         };
 23 
 24         memory@200000 {
 25                 device_type = "memory";
 26                 reg = <0x0 0x00200000 0x0 0x0ee00000>,
 27                       <0x0 0x90000000 0x0 0x60000000>;
 28         };
 29 
 30         reserved-memory {
 31                 #address-cells = <2>;
 32                 #size-cells = <2>;
 33                 ranges;
 34 
 35                 linux,cma {
 36                         compatible = "shared-dma-pool";
 37                         reusable;
 38                         size = <0x0 0x2000000>;
 39                         linux,cma-default;
 40                 };
 41         };
 42 };
 43 
 44 &gmac0 {
 45         status = "okay";
 46 
 47         phy-mode = "rgmii-id";
 48         bus_id = <0x0>;
 49 };
 50 
 51 &gmac1 {
 52         status = "okay";
 53 
 54         phy-mode = "rgmii-id";
 55         bus_id = <0x1>;
 56 };
 57 
 58 &i2c0 {
 59         status = "okay";
 60 
 61         #address-cells = <1>;
 62         #size-cells = <0>;
 63         eeprom@57 {
 64                 compatible = "atmel,24c16";
 65                 reg = <0x57>;
 66                 pagesize = <16>;
 67         };
 68 };
 69 
 70 &ehci0 {
 71         status = "okay";
 72 };
 73 
 74 &ohci0 {
 75         status = "okay";
 76 };
 77 
 78 &sata {
 79         status = "okay";
 80 };
 81 
 82 &uart0 {
 83         status = "okay";
 84 };
 85 
 86 &rtc0 {
 87         status = "okay";
 88 };

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