Thread (15 messages) 15 messages, 3 authors, 2017-05-16

[PATCH v2 04/11] arm64: dts: Initial DTS files for Broadcom Stingray SOC

From: scott.branden@broadcom.com (Scott Branden)
Date: 2017-05-15 16:04:39
Also in: linux-clk, linux-devicetree, lkml


On 17-05-15 06:13 AM, Mark Rutland wrote:
Hi,

On Mon, May 15, 2017 at 05:32:14PM +0530, Anup Patel wrote:
quoted
+/ {
+	chosen { /* Default kernel args */
+		bootargs = "root=/dev/ram rw rootwait \
+			    earlycon=uart8250,mmio32,0x68a10000 \
+			    pci=pcie_bus_safe cma=64M";
Why do we need all of these?
Agreed - we don't need the default kernels args here - they are passed 
in by bootloader as needed.
quoted
+		linux,stdout-path = "serial0:115200n8";
Please drop the 'linux,' prefix here.

[...]
quoted
+	memory: memory at 80000000 {
+		device_type = "memory";
+		reg = <0x00000000 0x80000000 0 0x40000000>;
+	};
+
+	psci {
+		compatible = "arm,psci-0.2";
+		method = "smc";
+	};
+
+	pmu {
+		compatible = "arm,armv8-pmuv3";
+		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
+	};
+
+	timer {
+		compatible = "arm,armv8-timer";
+		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) |
+			      IRQ_TYPE_LEVEL_LOW)>,
+			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) |
+			      IRQ_TYPE_LEVEL_LOW)>,
+			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) |
+			      IRQ_TYPE_LEVEL_LOW)>,
+			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) |
+			      IRQ_TYPE_LEVEL_LOW)>;
GICv3 PPIs don't have a mask. See

Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt

Please remove the GIC_CPU_MASK_*() uses here and in this dts. They
shouldn't be there.

Thanks,
Mark.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help