mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Sophie <s.carayol@lacroix-electronics.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Changes in device tree files
Date: Tue, 13 May 2014 14:05:18 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140513T155122-132@post.gmane.org> (raw)

Hi,

For a board based on the MBa6X (TQMa6s) TQ Group board, I tried to add our
needs in the device tree : I need i2c4. Now it's OK for I2C4 for imx6dl
version. The problem is only for im6q version because, i think there is an
uncompatiblity for PINMUX but I don't need this version

Besides, I want to add an NVRAM (seen as an MTD-RAM) as we have one in our
design. I saw in the device tree documentation (device
tree/bindings/mtd/mtd-physmap.txt), that I have to add the following lines :

sram <at> 2,0 {
		compatible = "samsung,k6f1616u6a", "mtd-ram";
		reg = <2 0 0x00200000>;
		bank-width = <2>;
	};

Finally, I add in imx6dl.dtsi the following lines under 'soc' node:

weim : eim@08000000 {
		sram@30000000,0 {
		compatible = "cypress,cy62157ev30ll", "mtd-ram"; 
		reg = <0x30000000 0 0x00100000>; 		
		bank-width = <2>;
		};
	};

But these lines generate a syntax error. In what file of the same device
tree would it be better to add these lines and what is the right way ?

Best regards,
Sophie


-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2014-05-13 14:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-13 14:05 Sophie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-05-13 12:19 Sophie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20140513T155122-132@post.gmane.org \
    --to=s.carayol@lacroix-electronics.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox