Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: add DT for Alphascale ASM9260 SoC

for now it is wary basic SoC description with most important IPs needed
to make this device work

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Olof Johansson <olof@lixom.net>

authored by

Oleksij Rempel and committed by
Olof Johansson
c878eb62 b7392d22

+77 -1
+1 -1
arch/arm/boot/dts/Makefile
··· 555 555 mt6592-evb.dtb \ 556 556 mt8127-moose.dtb \ 557 557 mt8135-evbp1.dtb 558 - 558 + dtb-$(CONFIG_MACH_ASM9260) += alphascale-asm9260-devkit.dtb 559 559 endif 560 560 561 561 always := $(dtb-y)
+13
arch/arm/boot/dts/alphascale-asm9260-devkit.dts
··· 1 + /* 2 + * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de> 3 + * 4 + * Licensed under the X11 license or the GPL v2 (or later) 5 + */ 6 + 7 + /dts-v1/; 8 + #include "alphascale-asm9260.dtsi" 9 + 10 + / { 11 + model = "Alphascale asm9260 Development Kit"; 12 + compatible = "alphascale,asm9260devkit", "alphascale,asm9260"; 13 + };
+63
arch/arm/boot/dts/alphascale-asm9260.dtsi
··· 1 + /* 2 + * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de> 3 + * 4 + * Licensed under the X11 license or the GPL v2 (or later) 5 + */ 6 + 7 + #include "skeleton.dtsi" 8 + #include <dt-bindings/clock/alphascale,asm9260.h> 9 + 10 + / { 11 + interrupt-parent = <&icoll>; 12 + 13 + memory { 14 + device_type = "memory"; 15 + reg = <0x20000000 0x2000000>; 16 + }; 17 + 18 + cpus { 19 + #address-cells = <0>; 20 + #size-cells = <0>; 21 + 22 + cpu { 23 + compatible = "arm,arm926ej-s"; 24 + device_type = "cpu"; 25 + clocks = <&acc CLKID_SYS_CPU>; 26 + }; 27 + }; 28 + 29 + osc24m: oscillator { 30 + compatible = "fixed-clock"; 31 + #clock-cells = <0>; 32 + clock-frequency = <24000000>; 33 + clock-accuracy = <30000>; 34 + }; 35 + 36 + soc { 37 + #address-cells = <1>; 38 + #size-cells = <1>; 39 + compatible = "simple-bus"; 40 + ranges; 41 + 42 + acc: clock-controller@80040000 { 43 + compatible = "alphascale,asm9260-clock-controller"; 44 + #clock-cells = <1>; 45 + clocks = <&osc24m>; 46 + reg = <0x80040000 0x204>; 47 + }; 48 + 49 + icoll: interrupt-controller@80054000 { 50 + compatible = "alphascale,asm9260-icoll"; 51 + interrupt-controller; 52 + #interrupt-cells = <1>; 53 + reg = <0x80054000 0x200>; 54 + }; 55 + 56 + timer0: timer@80088000 { 57 + compatible = "alphascale,asm9260-timer"; 58 + reg = <0x80088000 0x4000>; 59 + clocks = <&acc CLKID_AHB_TIMER0>; 60 + interrupts = <29>; 61 + }; 62 + }; 63 + };