From mboxrd@z Thu Jan 1 00:00:00 1970 From: mark.rutland@arm.com (Mark Rutland) Date: Tue, 21 Apr 2015 18:28:34 +0100 Subject: [PATCH v5 05/11] ARM: dts: add imx7d soc dtsi file In-Reply-To: <1429628007-8892-6-git-send-email-Frank.Li@freescale.com> References: <1429628007-8892-1-git-send-email-Frank.Li@freescale.com> <1429628007-8892-6-git-send-email-Frank.Li@freescale.com> Message-ID: <20150421172834.GF10164@leverpostej> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > +/* > + cpu1: cpu at 1 { > + compatible = "arm,cortex-a7"; > + device_type = "cpu"; > + reg = <1>; > + }; > +*/ Why have it commented out? If it's not available, leave it out entirely. > + intc: interrupt-controller at 31001000 { > + compatible = "arm,cortex-a7-gic"; > + #interrupt-cells = <3>; > + interrupt-controller; > + reg = <0x31001000 0x1000>, > + <0x31002000 0x100>; > + }; GICC should be larger than 0x100 bytes. What about GICH, GICV? What state do CPUs enter the kernel? > + > + clocks { > + #address-cells = <1>; > + #size-cells = <0>; > + > + ckil: clock at 0 { > + compatible = "fixed-clock"; > + reg = <0>; > + #clock-cells = <0>; > + clock-frequency = <32768>; > + clock-output-names = "ckil"; > + }; > + > + osc: clock at 1 { > + compatible = "fixed-clock"; > + reg = <1>; > + #clock-cells = <0>; > + clock-frequency = <24000000>; > + clock-output-names = "osc"; > + }; > + > + }; Get rid of the clocks container node, and put these under the root. > + > + timer { > + compatible = "arm,armv7-timer"; > + arm,cpu-registers-not-fw-configured; This was bad enough the first time... > + interrupts = + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, > + + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; Two interrupts are missing. > + interrupt-parent = <&intc>; > + clock-frequency = <8000000>; Why isn't this programmed? > + }; > + > + soc { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "simple-bus"; > + interrupt-parent = <&intc>; > + ranges; > + > + pmu { > + compatible = "arm,cortex-a7-pmu"; > + interrupts = ; > + status = "disabled"; > + }; Move this under the root. It doesn't live on an SoC-specific bus. Why disabled? Thanks, Mark.