Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1174756 > unrolled thread

Re: [PATCH v2 3/5] ARM: dts: rcm-k1879xb1: Add dts files for K1879XB1YA

Started byArnd Bergmann <arnd@arndb.de>
First post2015-06-30 23:10 +0200
Last post2015-06-30 23:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 3/5] ARM: dts: rcm-k1879xb1: Add dts files for K1879XB1YA Arnd Bergmann <arnd@arndb.de> - 2015-06-30 23:10 +0200

#1174756 — Re: [PATCH v2 3/5] ARM: dts: rcm-k1879xb1: Add dts files for K1879XB1YA

FromArnd Bergmann <arnd@arndb.de>
Date2015-06-30 23:10 +0200
SubjectRe: [PATCH v2 3/5] ARM: dts: rcm-k1879xb1: Add dts files for K1879XB1YA
Message-ID<pHaWZ-59M-1@gated-at.bofh.it>
On Tuesday 30 June 2015 18:15:05 Andrew Andrianov wrote:
> +	memory {
> +		device_type = "memory";
> +		reg = <0x40000000 0x8000000>;
> +	};
> +
> +	chosen {
> +		bootargs = "console=ttyS0,38400n8 earlyprintk=serial";
> +	};

Can you use earlycon instead?

> +
> +	clocks {
> +			clk_core: clk_core@324M {
> +				/* Core 324MHz clock. */
> +				compatible = "fixed-factor-clock";
> +				#clock-cells = <0>;
> +				clocks = <&oscillator_27m>;
> +				clock-div = <1>;
> +				clock-mult = <12>;
> +				clock-output-names = "clk_core";
> +			};

Indentation looks wrong.

> +	axi {
> +		compatible = "arm,amba-bus";
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges = <0 0x0 0xFFFFFFFF>;
> +
> +		usbehci: ehci@0x10040000 {
> +			compatible = "generic-ehci";
> +			reg = <0x10040000 0x2000>;
> +			interrupt-parent = <&vic1>;
> +			interrupts = <3>; /* 35 */
> +			status = "disabled";
> +		};
> +

Please use standard node names, e.g. "usb" instead of "ehci" and "ohci",
and "serial" instead of "uart".

> +
> +		dvb_ci0: dvb-ci@10050000 {
> +			compatible = "rcm,mdvbci";
> +			reg = <0x10050000 0x10000>;
> +			interrupts = <37>;
> +		};
> +
> +		xdmac0: xdmac@10070000 {
> +			compatible = "rcm,xdmac";
> +			reg = <0x10070000 0x10000>;
> +			interrupts = <16 17 18 19 20 21 22 23>;
> +		};

Remove the nodes that don't have an established binding for now.

> +		pinmux: sysconfigh@0x20033084 {
> +			compatible = "rcm,pinmux";
> +			reg = <0x20033084 0x4>;
> +			reg-names = "controlH";
> +		};

This looks like it's only one register out of a larger area of
random things. Can you use a "syscon" device instead"?

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web