[PATCH linux] device tree not compiling

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Nov 21 11:10:23 AEDT 2015


From: Chris Austen <austenc at us.ibm.com>

Needed to remove the 0x and make things lower case

Signed-off-by: Chris Austen <austenc at us.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
index b663dd8..4d1a215 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
@@ -8,7 +8,7 @@
 	ahb {
 		apb {
 			i2c: i2c at 1e78a040 {
-				i2c0: i2c-bus at 0x40 {
+				i2c0: i2c-bus at 40 {
 					eeprom at 50 {
 						compatible = "atmel,24c256";
 						reg = <0x50>;
@@ -25,7 +25,7 @@
 					};
 				};
 
-				i2c6: i2c-bus at 0x1C0 {
+				i2c6: i2c-bus at 1c0 {
 					nct7904 at 2d {
 						compatible = "nuvoton,nct7904";
 						reg = <0x2d>;
-- 
2.6.3




More information about the openbmc mailing list