[RFC PATCH v2 27/30] arch/sh: LANDISK DeviceTree.
Yoshinori Sato <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel |
|---|---|
| Message-ID | <7efc47ade9aef2e3d9b963fcd46f012028261f30.1694596125.git.ysato@users.sourceforge.jp> |
Signed-off-by: Yoshinori Sato <[email protected]> --- arch/sh/boot/dts/landisk.dts | 103 +++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 arch/sh/boot/dts/landisk.dts diff --git a/arch/sh/boot/dts/landisk.dts b/arch/sh/boot/dts/landisk.dts new file mode 100644 index 000000000000..1d76fbd6923b --- /dev/null +++ b/arch/sh/boot/dts/landisk.dts @@ -0,0 +1,103 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the IO DATA DEVICE LANDISK + */ + + +/dts-v1/; + +#include "sh7751.dtsi" + +/ { + model = "IO-DATA Device LANDISK"; + compatible = "iodata,landisk", "renesas,sh7751r"; + #address-cells = <1>; + #size-cells = <1>; + interrupt-parent = <&shintc>; + + aliases { + serial0 = &scif1; + }; + + chosen { + stdout-path = "serial0:9600n8"; + }; + + clocks { + xtal: oscillator { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <22222222>; + }; + + cpg: cpg@ffc00000 { + compatible = "renesas,sh7750r-cpg", + "renesas,sh7750-cpg"; + renesas,mode = <5>; + }; + }; + + cpus { + cpu@0 { + clock-frequency = <266666666>; + }; + }; + memory@c000000 { + device_type = "memory"; + reg = <0x0c000000 0x4000000>; + }; + + julianintc: sh7751irl_encoder@a4000000 { + compatible = "renesas,sh7751-irl-ext"; + reg = <0xb0000005 0x01>; + interrupt-controller; + #address-cells = <1>; + #interrupt-cells = <2>; + sh7751irl,width = <8>; + sh7751irl,polarity = <0>; + sh7751irl,irqbit = <0xffffffff>, /* Not use */ + <0xffffffff>, + <0xffffffff>, + <0xffffffff>, + <0xffffffff>, + <0>, /* PCI INTA */ + <1>, /* PCI INTB */ + <2>, /* PCI INTC */ + <3>, /* PCI INTD */ + <4>, /* ATA */ + <5>, /* CF */ + <6>, /* Power Switch */ + <7>; /* Button */ + }; + + pci@fe200000 { + compatible = "iodata,julian-pci", "renesas,sh7751-pci"; + #interrupt-cells = <1>; + interrupt-parent = <&julianintc>; + eth@0,0 { + reg = <0x0000 0 0 0 0>; + interrupts = <5 0>; + interrupt-names = "eth"; + }; + ata@1,0 { + reg = <0x0800 0 0 0 0>; + interrupts = <6 0>; + interrupt-names = "ata"; + }; + usb@2,0 { + reg = <0x1000 0 0 0 0>; + interrupts = <7 0>; + interrupt-names = "ochi"; + }; + usb@2,1 { + reg = <0x1100 0 0 0 0>; + interrupts = <8 0>; + interrupt-names = "ohci"; + }; + usb@2,2 { + reg = <0x1200 0 0 0 0>; + interrupts = <5 0>; + interrupt-names = "ehci"; + }; + }; +}; -- 2.39.2