m68k: dts: add i2c nodes

Add all the i2c nodes for each family, and add specific i2c
overwrites in the related board-specific dts.

Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
This commit is contained in:
Angelo Dureghello 2023-04-05 00:59:27 +02:00 committed by Heiko Schocher
parent b6afa7cf62
commit 96283b83da
23 changed files with 272 additions and 0 deletions

View file

@ -23,3 +23,9 @@
&fec0 {
status = "okay";
};
&i2c0 {
clock-frequency = <80000>;
u-boot,i2c-slave-addr = <0x7f>;
status = "okay";
};

View file

@ -20,3 +20,8 @@
status = "okay";
};
&i2c0 {
clock-frequency = <80000>;
u-boot,i2c-slave-addr = <0x7f>;
status = "okay";
};

View file

@ -27,3 +27,9 @@
&fec1 {
status = "okay";
};
&i2c0 {
clock-frequency = <80000>;
u-boot,i2c-slave-addr = <0x7f>;
status = "okay";
};

View file

@ -27,3 +27,9 @@
&fec1 {
status = "okay";
};
&i2c0 {
clock-frequency = <80000>;
u-boot,i2c-slave-addr = <0x7f>;
status = "okay";
};

View file

@ -23,3 +23,9 @@
&fec0 {
status = "okay";
};
&i2c0 {
clock-frequency = <80000>;
u-boot,i2c-slave-addr = <0x7f>;
status = "okay";
};

View file

@ -23,3 +23,9 @@
&fec0 {
status = "okay";
};
&i2c0 {
clock-frequency = <80000>;
u-boot,i2c-slave-addr = <0x7f>;
status = "okay";
};

View file

@ -23,3 +23,7 @@
&fec0 {
status = "okay";
};
&i2c0 {
status = "okay";
};

View file

@ -20,3 +20,8 @@
status = "okay";
};
&i2c0 {
clock-frequency = <80000>;
u-boot,i2c-slave-addr = <0x7f>;
status = "okay";
};

View file

@ -23,3 +23,12 @@
&fec0 {
status = "okay";
};
&i2c0 {
status = "okay";
rtc@68 {
compatible = "dallas,ds1338";
reg = <0x68>;
};
};

View file

@ -23,3 +23,12 @@
&fec0 {
status = "okay";
};
&i2c0 {
status = "okay";
rtc@68 {
compatible = "dallas,ds1338";
reg = <0x68>;
};
};

View file

@ -42,5 +42,15 @@
timeout-loop = <50000>;
status = "disabled";
};
i2c0: i2c@fc058000 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0xfc058000 0x14>;
clock-frequency = <100000>;
status = "disabled";
};
};
};

View file

@ -51,6 +51,16 @@
timeout-loop = <50000>;
status = "disabled";
};
i2c0: i2c@300 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0x300 0x14>;
clock-frequency = <100000>;
status = "disabled";
};
};
};
};

View file

@ -33,6 +33,34 @@
reg = <0x200 0x40>;
status = "disabled";
};
i2c0: i2c@280 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0x280 0x14>;
clock-frequency = <100000>;
status = "disabled";
};
};
mbar2: mbar2@80000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x00000000 0x80000000 0x10000>;
reg = <0x80000000 0x10000>;
i2c1: i2c@440 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0x440 0x14>;
clock-frequency = <100000>;
status = "disabled";
};
};
};
};

View file

@ -39,6 +39,34 @@
reg = <0xc00 0x40>;
status = "disabled";
};
i2c0: i2c@280 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0x280 0x14>;
clock-frequency = <100000>;
status = "disabled";
};
};
mbar2: mbar2@80000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x00000000 0x80000000 0x10000>;
reg = <0x80000000 0x10000>;
i2c1: i2c@440 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0x440 0x14>;
clock-frequency = <100000>;
status = "disabled";
};
};
};
};

View file

@ -49,6 +49,16 @@
timeout-loop = <50000>;
status = "disabled";
};
i2c0: i2c@300 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0x300 0x14>;
clock-frequency = <100000>;
status = "disabled";
};
};
};
};

View file

@ -59,6 +59,16 @@
timeout-loop = <50000>;
status = "disabled";
};
i2c0: i2c@300 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0x300 0x14>;
clock-frequency = <100000>;
status = "disabled";
};
};
};
};

View file

@ -49,6 +49,16 @@
timeout-loop = <50000>;
status = "disabled";
};
i2c0: i2c@300 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0x300 0x14>;
clock-frequency = <100000>;
status = "disabled";
};
};
};
};

View file

@ -65,5 +65,15 @@
timeout-loop = <50000>;
status = "disabled";
};
i2c0: i2c@0xfc058000 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0xfc058000 0x100>;
clock-frequency = <100000>;
status = "disabled";
};
};
};

View file

@ -34,6 +34,16 @@
reg = <0x200 0x40>;
status = "disabled";
};
i2c0: i2c@280 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0x280 0x14>;
clock-frequency = <100000>;
status = "disabled";
};
};
};
};

View file

@ -42,5 +42,15 @@
timeout-loop = <50000>;
status = "disabled";
};
i2c0: i2c@0xfc058000 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0xfc058000 0x100>;
clock-frequency = <100000>;
status = "disabled";
};
};
};

View file

@ -42,5 +42,15 @@
timeout-loop = <50000>;
status = "disabled";
};
i2c0: i2c@0xfc058000 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0xfc058000 0x100>;
clock-frequency = <100000>;
status = "disabled";
};
};
};

View file

@ -103,5 +103,65 @@
timeout-loop = <50000>;
status = "disabled";
};
i2c0: i2c@0xfc058000 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <0>;
reg = <0xfc058000 0x100>;
clock-frequency = <100000>;
status = "disabled";
};
i2c1: i2c@0xfc038000 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <1>;
reg = <0xfc038000 0x100>;
clock-frequency = <100000>;
status = "disabled";
};
i2c2: i2c@0xfc010000 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <2>;
reg = <0xfc010000 0x100>;
clock-frequency = <100000>;
status = "disabled";
};
i2c3: i2c@0xfc014000 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <3>;
reg = <0xfc014000 0x100>;
clock-frequency = <100000>;
status = "disabled";
};
i2c4: i2c@0xfc018000 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <4>;
reg = <0xfc018000 0x100>;
clock-frequency = <100000>;
status = "disabled";
};
i2c5: i2c@0xfc01c000 {
compatible = "fsl-i2c";
#address-cells=<1>;
#size-cells=<0>;
cell-index = <5>;
reg = <0xfc01c000 0x100>;
clock-frequency = <100000>;
status = "disabled";
};
};
};

View file

@ -41,3 +41,7 @@
status = "okay";
mii-base = <0>;
};
&i2c0 {
status = "okay";
};