1e8823d26SPaul Burton/dts-v1/;
2e8823d26SPaul Burton
338ec82feSPaul Burton#include <dt-bindings/interrupt-controller/irq.h>
438ec82feSPaul Burton#include <dt-bindings/interrupt-controller/mips-gic.h>
538ec82feSPaul Burton
6e81a8c7dSPaul Burton/memreserve/ 0x00000000 0x00001000;	/* YAMON exception vectors */
7e81a8c7dSPaul Burton/memreserve/ 0x00001000 0x000ef000;	/* YAMON */
8e81a8c7dSPaul Burton/memreserve/ 0x000f0000 0x00010000;	/* PIIX4 ISA memory */
9e81a8c7dSPaul Burton
10e8823d26SPaul Burton/ {
11e8823d26SPaul Burton	#address-cells = <1>;
12e8823d26SPaul Burton	#size-cells = <1>;
13e8823d26SPaul Burton	compatible = "mti,malta";
1438ec82feSPaul Burton
1538ec82feSPaul Burton	cpu_intc: interrupt-controller {
1638ec82feSPaul Burton		compatible = "mti,cpu-interrupt-controller";
1738ec82feSPaul Burton
1838ec82feSPaul Burton		interrupt-controller;
1938ec82feSPaul Burton		#interrupt-cells = <1>;
2038ec82feSPaul Burton	};
2138ec82feSPaul Burton
2238ec82feSPaul Burton	gic: interrupt-controller@1bdc0000 {
2338ec82feSPaul Burton		compatible = "mti,gic";
2438ec82feSPaul Burton		reg = <0x1bdc0000 0x20000>;
2538ec82feSPaul Burton
2638ec82feSPaul Burton		interrupt-controller;
2738ec82feSPaul Burton		#interrupt-cells = <3>;
2838ec82feSPaul Burton
2938ec82feSPaul Burton		/*
3038ec82feSPaul Burton		 * Declare the interrupt-parent even though the mti,gic
3138ec82feSPaul Burton		 * binding doesn't require it, such that the kernel can
3238ec82feSPaul Burton		 * figure out that cpu_intc is the root interrupt
3338ec82feSPaul Burton		 * controller & should be probed first.
3438ec82feSPaul Burton		 */
3538ec82feSPaul Burton		interrupt-parent = <&cpu_intc>;
3638ec82feSPaul Burton
3738ec82feSPaul Burton		timer {
3838ec82feSPaul Burton			compatible = "mti,gic-timer";
3938ec82feSPaul Burton			interrupts = <GIC_LOCAL 1 IRQ_TYPE_NONE>;
4038ec82feSPaul Burton		};
4138ec82feSPaul Burton	};
4238ec82feSPaul Burton
4338ec82feSPaul Burton	i8259: interrupt-controller@20 {
4438ec82feSPaul Burton		compatible = "intel,i8259";
4538ec82feSPaul Burton
4638ec82feSPaul Burton		interrupt-controller;
4738ec82feSPaul Burton		#interrupt-cells = <1>;
4838ec82feSPaul Burton
4938ec82feSPaul Burton		interrupt-parent = <&gic>;
5038ec82feSPaul Burton		interrupts = <GIC_SHARED 3 IRQ_TYPE_LEVEL_HIGH>;
5138ec82feSPaul Burton	};
520a46ffa3SPaul Burton
5397af8e1cSPaul Burton	flash@1e000000 {
5497af8e1cSPaul Burton		compatible = "intel,dt28f160", "cfi-flash";
5597af8e1cSPaul Burton		reg = <0x1e000000 0x400000>;
5697af8e1cSPaul Burton		bank-width = <4>;
5797af8e1cSPaul Burton		#address-cells = <1>;
5897af8e1cSPaul Burton		#size-cells = <1>;
5997af8e1cSPaul Burton
6097af8e1cSPaul Burton		partitions {
6197af8e1cSPaul Burton			compatible = "fixed-partitions";
6297af8e1cSPaul Burton			#address-cells = <1>;
6397af8e1cSPaul Burton			#size-cells = <1>;
6497af8e1cSPaul Burton
6597af8e1cSPaul Burton			yamon@0 {
6697af8e1cSPaul Burton				label = "YAMON";
6797af8e1cSPaul Burton				reg = <0x0 0x100000>;
6897af8e1cSPaul Burton				read-only;
6997af8e1cSPaul Burton			};
7097af8e1cSPaul Burton
7197af8e1cSPaul Burton			user-fs@100000 {
7297af8e1cSPaul Burton				label = "User FS";
7397af8e1cSPaul Burton				reg = <0x100000 0x2e0000>;
7497af8e1cSPaul Burton			};
7597af8e1cSPaul Burton
7697af8e1cSPaul Burton			board-config@3e0000 {
7797af8e1cSPaul Burton				label = "Board Config";
7897af8e1cSPaul Burton				reg = <0x3e0000 0x20000>;
7997af8e1cSPaul Burton				read-only;
8097af8e1cSPaul Burton			};
8197af8e1cSPaul Burton		};
8297af8e1cSPaul Burton	};
8397af8e1cSPaul Burton
8410b6ea09SPaul Burton	fpga_regs: system-controller@1f000000 {
8510b6ea09SPaul Burton		compatible = "mti,malta-fpga", "syscon", "simple-mfd";
8610b6ea09SPaul Burton		reg = <0x1f000000 0x1000>;
8710b6ea09SPaul Burton
8810b6ea09SPaul Burton		reboot {
8910b6ea09SPaul Burton			compatible = "syscon-reboot";
9010b6ea09SPaul Burton			regmap = <&fpga_regs>;
9110b6ea09SPaul Burton			offset = <0x500>;
9210b6ea09SPaul Burton			mask = <0x4d>;
9310b6ea09SPaul Burton		};
9410b6ea09SPaul Burton	};
9510b6ea09SPaul Burton
960a46ffa3SPaul Burton	isa {
970a46ffa3SPaul Burton		compatible = "isa";
980a46ffa3SPaul Burton		#address-cells = <2>;
990a46ffa3SPaul Burton		#size-cells = <1>;
1000a46ffa3SPaul Burton		ranges = <1 0 0 0x1000>;
1010a46ffa3SPaul Burton
1020a46ffa3SPaul Burton		rtc@70 {
1030a46ffa3SPaul Burton			compatible = "motorola,mc146818";
1040a46ffa3SPaul Burton			reg = <1 0x70 0x8>;
1050a46ffa3SPaul Burton
1060a46ffa3SPaul Burton			interrupt-parent = <&i8259>;
1070a46ffa3SPaul Burton			interrupts = <8>;
1080a46ffa3SPaul Burton		};
1090a46ffa3SPaul Burton	};
110e8823d26SPaul Burton};
111