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,mip 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-interrup 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-clo 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 0x20000 51 52 interrupt-parent = <&intc>; 53 54 cpu_ctrl: syscon@10000000 { 55 compatible = "mscc,oce 56 reg = <0x10000000 0x2c 57 }; 58 59 intc: interrupt-controller@100 60 compatible = "mscc,lut 61 reg = <0x10000084 0x70 62 #interrupt-cells = <1> 63 interrupt-controller; 64 interrupt-parent = <&c 65 interrupts = <2>; 66 }; 67 68 uart0: serial@10100000 { 69 pinctrl-0 = <&uart_pin 70 pinctrl-names = "defau 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,oce 83 pinctrl-0 = <&i2c_pins 84 pinctrl-names = "defau 85 reg = <0x10100400 0x10 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,lut 96 reg = <0x70068 0x28>; 97 gpio-controller; 98 #gpio-cells = <2>; 99 gpio-ranges = <&gpio 0 100 interrupt-controller; 101 interrupts = <13>; 102 #interrupt-cells = <2> 103 104 i2c_pins: i2c-pins { 105 pins = "GPIO_5 106 function = "tw 107 }; 108 109 uart_pins: uart-pins { 110 pins = "GPIO_3 111 function = "ua 112 }; 113 114 }; 115 }; 116 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.