mirror of
https://xff.cz/git/u-boot/
synced 2025-09-05 18:52:17 +02:00
ARM: dts: sam9x60ek: add i2c0 as flexcom0 subnode and eeprom memory
Add i2c0 bus as subnode to flx0. Add eeprom memory as slave device to i2c0. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
stdout-path = &dbgu;
|
stdout-path = &dbgu;
|
||||||
|
i2c0 = &flx0;
|
||||||
};
|
};
|
||||||
|
|
||||||
onewire_tm: onewire {
|
onewire_tm: onewire {
|
||||||
@@ -45,6 +46,28 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
flx0: flexcom@f801c600 {
|
||||||
|
atmel,flexcom-mode = <3>;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
i2c@600 {
|
||||||
|
compatible = "atmel,sama5d2-i2c";
|
||||||
|
reg = <0x600 0x200>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_flx0>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
clocks = <&flx0_clk>;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
eeprom@53 {
|
||||||
|
compatible = "atmel,24c32";
|
||||||
|
reg = <0x53>;
|
||||||
|
pagesize = <16>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pinctrl {
|
pinctrl {
|
||||||
pinctrl_qspi: qspi {
|
pinctrl_qspi: qspi {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
@@ -56,6 +79,12 @@
|
|||||||
AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
|
AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pinctrl_flx0: flx0_default {
|
||||||
|
atmel,pins =
|
||||||
|
<AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE
|
||||||
|
AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>;
|
||||||
|
};
|
||||||
|
|
||||||
pinctrl_onewire_tm_default: onewire_tm_default {
|
pinctrl_onewire_tm_default: onewire_tm_default {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
|
<AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
|
||||||
|
Reference in New Issue
Block a user