mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
dts: arm: ipq9574: Add BLSP3 I2C support
This changes add BLSP3 I2C and remove BLSP5 I2C. Change-Id: I532da3733a170e78aaaeb4aba8faf1770cdfa97b Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
This commit is contained in:
parent
41ad17daf4
commit
3b56bd8af1
5 changed files with 48 additions and 25 deletions
|
|
@ -22,6 +22,7 @@
|
||||||
uart2 = "/serial@78B2000";
|
uart2 = "/serial@78B2000";
|
||||||
usb0 = "/xhci@8a00000";
|
usb0 = "/xhci@8a00000";
|
||||||
nand = "/nand-controller@79B0000";
|
nand = "/nand-controller@79B0000";
|
||||||
|
i2c0 = "/i2c@78B8000";
|
||||||
};
|
};
|
||||||
|
|
||||||
console: serial@78B1000 {
|
console: serial@78B1000 {
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
uart2 = "/serial@78B2000";
|
uart2 = "/serial@78B2000";
|
||||||
usb0 = "/xhci@8a00000";
|
usb0 = "/xhci@8a00000";
|
||||||
nand = "/nand-controller@79B0000";
|
nand = "/nand-controller@79B0000";
|
||||||
i2c0 = "/i2c@78BA000";
|
i2c0 = "/i2c@78B8000";
|
||||||
};
|
};
|
||||||
|
|
||||||
console: serial@78B1000 {
|
console: serial@78B1000 {
|
||||||
|
|
@ -124,26 +124,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c0: i2c@78BA000 {
|
|
||||||
i2c_gpio {
|
|
||||||
gpio1 {
|
|
||||||
gpio = <48>;
|
|
||||||
func = <1>;
|
|
||||||
pull = <GPIO_PULL_UP>;
|
|
||||||
drvstr = <GPIO_8MA>;
|
|
||||||
oe = <GPIO_OE_ENABLE>;
|
|
||||||
};
|
|
||||||
|
|
||||||
gpio2 {
|
|
||||||
gpio = <49>;
|
|
||||||
func = <1>;
|
|
||||||
pull = <GPIO_PULL_UP>;
|
|
||||||
drvstr = <GPIO_8MA>;
|
|
||||||
oe = <GPIO_OE_ENABLE>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pci0: pci@20000000 {
|
pci0: pci@20000000 {
|
||||||
status = "ok";
|
status = "ok";
|
||||||
perst_gpio = <29>;
|
perst_gpio = <29>;
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
uart2 = "/serial@78B2000";
|
uart2 = "/serial@78B2000";
|
||||||
usb0 = "/xhci@8a00000";
|
usb0 = "/xhci@8a00000";
|
||||||
nand = "/nand-controller@79B0000";
|
nand = "/nand-controller@79B0000";
|
||||||
i2c0 = "/i2c@78BA000";
|
i2c0 = "/i2c@78B8000";
|
||||||
};
|
};
|
||||||
|
|
||||||
console: serial@78B1000 {
|
console: serial@78B1000 {
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
pci3 = "/pci@10000000";
|
pci3 = "/pci@10000000";
|
||||||
usb0 = "/xhci@8a00000";
|
usb0 = "/xhci@8a00000";
|
||||||
nand = "/nand-controller@79B0000";
|
nand = "/nand-controller@79B0000";
|
||||||
i2c0 = "/i2c@78BA000";
|
i2c0 = "/i2c@78B8000";
|
||||||
};
|
};
|
||||||
|
|
||||||
console: serial@78B1000 {
|
console: serial@78B1000 {
|
||||||
|
|
|
||||||
|
|
@ -93,12 +93,54 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c0: i2c@78BA000 {
|
i2c@78BA000 {
|
||||||
compatible = "qcom,qup-i2c";
|
compatible = "qcom,qup-i2c";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
reg = <0x78BA000 0x600>;
|
reg = <0x78BA000 0x600>;
|
||||||
clock-frequency = <400000>;
|
clock-frequency = <400000>;
|
||||||
|
i2c_gpio {
|
||||||
|
gpio1 {
|
||||||
|
gpio = <48>;
|
||||||
|
func = <1>;
|
||||||
|
pull = <GPIO_PULL_UP>;
|
||||||
|
drvstr = <GPIO_8MA>;
|
||||||
|
oe = <GPIO_OE_ENABLE>;
|
||||||
|
};
|
||||||
|
|
||||||
|
gpio2 {
|
||||||
|
gpio = <49>;
|
||||||
|
func = <1>;
|
||||||
|
pull = <GPIO_PULL_UP>;
|
||||||
|
drvstr = <GPIO_8MA>;
|
||||||
|
oe = <GPIO_OE_ENABLE>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
i2c@78B8000 {
|
||||||
|
compatible = "qcom,qup-i2c";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <0x78B8000 0x600>;
|
||||||
|
clock-frequency = <400000>;
|
||||||
|
i2c_gpio {
|
||||||
|
gpio1 {
|
||||||
|
gpio = <15>;
|
||||||
|
func = <2>;
|
||||||
|
pull = <GPIO_PULL_UP>;
|
||||||
|
drvstr = <GPIO_8MA>;
|
||||||
|
oe = <GPIO_OE_ENABLE>;
|
||||||
|
};
|
||||||
|
|
||||||
|
gpio2 {
|
||||||
|
gpio = <16>;
|
||||||
|
func = <2>;
|
||||||
|
pull = <GPIO_PULL_UP>;
|
||||||
|
drvstr = <GPIO_8MA>;
|
||||||
|
oe = <GPIO_OE_ENABLE>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nand: nand-controller@79B0000 {
|
nand: nand-controller@79B0000 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue