From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from plane.gmane.org ([80.91.229.3]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WkDKm-0005nJ-OM for ptxdist@pengutronix.de; Tue, 13 May 2014 16:05:34 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WkDKm-0005Wl-1I for ptxdist@pengutronix.de; Tue, 13 May 2014 16:05:32 +0200 Received: from 129.242.srvc.fr ([5.10.129.242]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 May 2014 16:05:32 +0200 Received: from s.carayol by 129.242.srvc.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 May 2014 16:05:32 +0200 From: Sophie Date: Tue, 13 May 2014 14:05:18 +0000 (UTC) Message-ID: Mime-Version: 1.0 Subject: [ptxdist] Changes in device tree files Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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 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