Re: [PATCH 3/4] arm64: dts: Add dts files for LG Electronics's lg1312 SoC

Arnd Bergmann
2016-03-07T04:27:36Z

On Monday 07 March 2016, Chanho Min wrote:
> +
> + chosen {
> + bootargs = "root=/dev/nfs ip=dhcp";
> + };

Can you add a stdout-path property as well, to make the console work?

Please also include an aliases node in the .dts file.

> +
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +#define ARMV8_TIMER_IRQ_TYPE (GIC_CPU_MASK_RAW(0x0f) | IRQ_TYPE_LEVEL_LOW)

I would leave out the macro here and instead just open-code this in the place it
is used.

Arnd