Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2c9a603 authored by Dmitry Eremin-Solenikov's avatar Dmitry Eremin-Solenikov Committed by Grant Likely
Browse files

powerpc/5200: add lite5200 onboard I2C eeprom and flash



Add dts descriptions for onboard 256 byte I2C eeprom (pcf8582C-2)
and 16MB NOR flash (am29lv652d).

Signed-off-by: default avatarDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
[grant.likely@secretlab.ca: added lite5200b eeprom and declared lite5200 gpios]
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 3bbf9b9b
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -134,12 +134,16 @@
			compatible = "fsl,mpc5200-gpio";
			reg = <0xb00 0x40>;
			interrupts = <1 7 0>;
			gpio-controller;
			#gpio-cells = <2>;
		};

		gpio@c00 {
			compatible = "fsl,mpc5200-gpio-wkup";
			reg = <0xc00 0x40>;
			interrupts = <1 8 0 0 3 0>;
			gpio-controller;
			#gpio-cells = <2>;
		};

		spi@f00 {
@@ -255,7 +259,13 @@
			compatible = "fsl,mpc5200-i2c","fsl-i2c";
			reg = <0x3d40 0x40>;
			interrupts = <2 16 0>;

			eeprom@50 {
				compatible = "atmel,24c02";
				reg = <0x50>;
			};
		};

		sram@8000 {
			compatible = "fsl,mpc5200-sram";
			reg = <0x8000 0x4000>;
@@ -281,4 +291,18 @@
			  0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
			  0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
	};

	localbus {
		compatible = "fsl,mpc5200-lpb","simple-bus";
		#address-cells = <2>;
		#size-cells = <1>;

		ranges = <0 0 0xff000000 0x01000000>;

		flash@0,0 {
			compatible = "amd,am29lv652d", "cfi-flash";
			reg = <0 0 0x01000000>;
			bank-width = <1>;
		};
	};
};
+5 −0
Original line number Diff line number Diff line
@@ -259,6 +259,11 @@
			compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
			reg = <0x3d40 0x40>;
			interrupts = <2 16 0>;

			eeprom@50 {
				compatible = "atmel,24c02";
				reg = <0x50>;
			};
		};

		sram@8000 {