mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 16:49:22 +00:00
ARM: dts: omap3: Add gpio-twl4030 properties for BeagleBoard and omap3-EVM
Add device tree properties for twl4030/gpio, according to the platform data of corresponding boards. This enables the led connected to LEDB output for both boards, as well as pullups/pulldowns on GPIO for the BeagleBoard. Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
This commit is contained in:
parent
f74ce8fb84
commit
a60be2fe97
2 changed files with 33 additions and 0 deletions
|
@ -17,6 +17,14 @@ memory {
|
||||||
device_type = "memory";
|
device_type = "memory";
|
||||||
reg = <0x80000000 0x20000000>; /* 512 MB */
|
reg = <0x80000000 0x20000000>; /* 512 MB */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
leds {
|
||||||
|
compatible = "gpio-leds";
|
||||||
|
pmu_stat {
|
||||||
|
label = "beagleboard::pmu_stat";
|
||||||
|
gpios = <&twl_gpio 19 0>; /* LEDB */
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
|
@ -67,3 +75,15 @@ &mmc2 {
|
||||||
&mmc3 {
|
&mmc3 {
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&twl_gpio {
|
||||||
|
ti,use-leds;
|
||||||
|
/* pullups: BIT(1) */
|
||||||
|
ti,pullups = <0x000002>;
|
||||||
|
/*
|
||||||
|
* pulldowns:
|
||||||
|
* BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
|
||||||
|
* BIT(15), BIT(16), BIT(17)
|
||||||
|
*/
|
||||||
|
ti,pulldowns = <0x03a1c4>;
|
||||||
|
};
|
||||||
|
|
|
@ -17,6 +17,15 @@ memory {
|
||||||
device_type = "memory";
|
device_type = "memory";
|
||||||
reg = <0x80000000 0x10000000>; /* 256 MB */
|
reg = <0x80000000 0x10000000>; /* 256 MB */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
leds {
|
||||||
|
compatible = "gpio-leds";
|
||||||
|
ledb {
|
||||||
|
label = "omap3evm::ledb";
|
||||||
|
gpios = <&twl_gpio 19 0>; /* LEDB */
|
||||||
|
linux,default-trigger = "default-on";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
|
@ -46,3 +55,7 @@ tvp5146@5c {
|
||||||
reg = <0x5c>;
|
reg = <0x5c>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&twl_gpio {
|
||||||
|
ti,use-leds;
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in a new issue