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

TOMOYO Linux Cross Reference
Linux/arch/mips/boot/dts/mscc/luton.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 MIT)
  2 /* Copyright (c) 2020 Microsemi Corporation */
  3 
  4 / {
  5         #address-cells = <1>;
  6         #size-cells = <1>;
  7         compatible = "mscc,luton";
  8 
  9         cpus {
 10                 #address-cells = <1>;
 11                 #size-cells = <0>;
 12 
 13                 cpu@0 {
 14                         compatible = "mips,mips24KEc";
 15                         device_type = "cpu";
 16                         clocks = <&cpu_clk>;
 17                         reg = <0>;
 18                 };
 19         };
 20 
 21         aliases {
 22                 serial0 = &uart0;
 23         };
 24 
 25         cpuintc: interrupt-controller {
 26                 #address-cells = <0>;
 27                 #interrupt-cells = <1>;
 28                 interrupt-controller;
 29                 compatible = "mti,cpu-interrupt-controller";
 30         };
 31 
 32         cpu_clk: cpu-clock {
 33                 compatible = "fixed-clock";
 34                 #clock-cells = <0>;
 35                 clock-frequency = <416666666>;
 36         };
 37 
 38         ahb_clk: ahb-clk {
 39                 compatible = "fixed-factor-clock";
 40                 #clock-cells = <0>;
 41                 clocks = <&cpu_clk>;
 42                 clock-div = <2>;
 43                 clock-mult = <1>;
 44         };
 45 
 46         ahb@60000000 {
 47                 compatible = "simple-bus";
 48                 #address-cells = <1>;
 49                 #size-cells = <1>;
 50                 ranges = <0 0x60000000 0x20000000>;
 51 
 52                 interrupt-parent = <&intc>;
 53 
 54                 cpu_ctrl: syscon@10000000 {
 55                         compatible = "mscc,ocelot-cpu-syscon", "syscon";
 56                         reg = <0x10000000 0x2c>;
 57                 };
 58 
 59                 intc: interrupt-controller@10000084 {
 60                         compatible = "mscc,luton-icpu-intr";
 61                         reg = <0x10000084 0x70>;
 62                         #interrupt-cells = <1>;
 63                         interrupt-controller;
 64                         interrupt-parent = <&cpuintc>;
 65                         interrupts = <2>;
 66                 };
 67 
 68                 uart0: serial@10100000 {
 69                         pinctrl-0 = <&uart_pins>;
 70                         pinctrl-names = "default";
 71                         compatible = "ns16550a";
 72                         reg = <0x10100000 0x20>;
 73                         interrupts = <6>;
 74                         clocks = <&ahb_clk>;
 75                         reg-io-width = <4>;
 76                         reg-shift = <2>;
 77 
 78                         status = "disabled";
 79                 };
 80 
 81                 i2c0: i2c@10100400 {
 82                         compatible = "mscc,ocelot-i2c", "snps,designware-i2c";
 83                         pinctrl-0 = <&i2c_pins>;
 84                         pinctrl-names = "default";
 85                         reg = <0x10100400 0x100>, <0x100002a4 0x8>;
 86                         #address-cells = <1>;
 87                         #size-cells = <0>;
 88                         interrupts = <11>;
 89                         clocks = <&ahb_clk>;
 90 
 91                         status = "disabled";
 92                 };
 93 
 94                 gpio: pinctrl@70068 {
 95                         compatible = "mscc,luton-pinctrl";
 96                         reg = <0x70068 0x28>;
 97                         gpio-controller;
 98                         #gpio-cells = <2>;
 99                         gpio-ranges = <&gpio 0 0 32>;
100                         interrupt-controller;
101                         interrupts = <13>;
102                         #interrupt-cells = <2>;
103 
104                         i2c_pins: i2c-pins {
105                                 pins = "GPIO_5", "GPIO_6";
106                                 function = "twi";
107                         };
108 
109                         uart_pins: uart-pins {
110                                 pins = "GPIO_30", "GPIO_31";
111                                 function = "uart";
112                         };
113 
114                 };
115         };
116 };

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