From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fZ6rd-0003Lo-5P for barebox@lists.infradead.org; Sat, 30 Jun 2018 03:47:58 +0000 Received: by mail-pf0-x244.google.com with SMTP id g3-v6so5050973pfi.1 for ; Fri, 29 Jun 2018 20:47:46 -0700 (PDT) From: Andrey Smirnov Date: Fri, 29 Jun 2018 20:47:35 -0700 Message-Id: <20180630034737.2820-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/3] ARM: dts: rdu1: Add nodes for RAVE SP EEPROM To: barebox@lists.infradead.org Cc: Andrey Smirnov Signed-off-by: Andrey Smirnov --- arch/arm/dts/imx51-zii-rdu1.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/dts/imx51-zii-rdu1.dts b/arch/arm/dts/imx51-zii-rdu1.dts index 7984e5b32..b0e1d0276 100644 --- a/arch/arm/dts/imx51-zii-rdu1.dts +++ b/arch/arm/dts/imx51-zii-rdu1.dts @@ -24,6 +24,13 @@ device-path = &spinor, "partname:barebox-environment"; }; }; + aliases { + /* + * Aliases to match Linux kernel naming in /dev/ + */ + main-eeprom = &main_eeprom; + dds-eeprom = &dds_eeprom; + }; }; &ecspi1 { @@ -50,3 +57,24 @@ }; }; }; + +&uart3 { + rave-sp { + #address-cells = <1>; + #size-cells = <1>; + + dds_eeprom: eeprom@a3 { + compatible = "zii,rave-sp-eeprom"; + reg = <0xa3 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + }; + + main_eeprom: eeprom@a4 { + compatible = "zii,rave-sp-eeprom"; + reg = <0xa4 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + }; + }; +}; -- 2.17.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox