diff options
| -rw-r--r-- | arch/arm/boot/dts/omap3-beagle.dts | 20 | ||||
| -rw-r--r-- | arch/arm/boot/dts/omap3-evm.dts | 13 |
2 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts index e60cba0ed6f1..3fe35c27ce1c 100644 --- a/arch/arm/boot/dts/omap3-beagle.dts +++ b/arch/arm/boot/dts/omap3-beagle.dts | |||
| @@ -17,6 +17,14 @@ | |||
| 17 | device_type = "memory"; | 17 | device_type = "memory"; |
| 18 | reg = <0x80000000 0x20000000>; /* 512 MB */ | 18 | reg = <0x80000000 0x20000000>; /* 512 MB */ |
| 19 | }; | 19 | }; |
| 20 | |||
| 21 | leds { | ||
| 22 | compatible = "gpio-leds"; | ||
| 23 | pmu_stat { | ||
| 24 | label = "beagleboard::pmu_stat"; | ||
| 25 | gpios = <&twl_gpio 19 0>; /* LEDB */ | ||
| 26 | }; | ||
| 27 | }; | ||
| 20 | }; | 28 | }; |
| 21 | 29 | ||
| 22 | &i2c1 { | 30 | &i2c1 { |
| @@ -67,3 +75,15 @@ | |||
| 67 | &mmc3 { | 75 | &mmc3 { |
| 68 | status = "disabled"; | 76 | status = "disabled"; |
| 69 | }; | 77 | }; |
| 78 | |||
| 79 | &twl_gpio { | ||
| 80 | ti,use-leds; | ||
| 81 | /* pullups: BIT(1) */ | ||
| 82 | ti,pullups = <0x000002>; | ||
| 83 | /* | ||
| 84 | * pulldowns: | ||
| 85 | * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13) | ||
| 86 | * BIT(15), BIT(16), BIT(17) | ||
| 87 | */ | ||
| 88 | ti,pulldowns = <0x03a1c4>; | ||
| 89 | }; | ||
diff --git a/arch/arm/boot/dts/omap3-evm.dts b/arch/arm/boot/dts/omap3-evm.dts index f349ee9182ce..e8ba1c247a39 100644 --- a/arch/arm/boot/dts/omap3-evm.dts +++ b/arch/arm/boot/dts/omap3-evm.dts | |||
| @@ -17,6 +17,15 @@ | |||
| 17 | device_type = "memory"; | 17 | device_type = "memory"; |
| 18 | reg = <0x80000000 0x10000000>; /* 256 MB */ | 18 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
| 19 | }; | 19 | }; |
| 20 | |||
| 21 | leds { | ||
| 22 | compatible = "gpio-leds"; | ||
| 23 | ledb { | ||
| 24 | label = "omap3evm::ledb"; | ||
| 25 | gpios = <&twl_gpio 19 0>; /* LEDB */ | ||
| 26 | linux,default-trigger = "default-on"; | ||
| 27 | }; | ||
| 28 | }; | ||
| 20 | }; | 29 | }; |
| 21 | 30 | ||
| 22 | &i2c1 { | 31 | &i2c1 { |
| @@ -46,3 +55,7 @@ | |||
| 46 | reg = <0x5c>; | 55 | reg = <0x5c>; |
| 47 | }; | 56 | }; |
| 48 | }; | 57 | }; |
| 58 | |||
| 59 | &twl_gpio { | ||
| 60 | ti,use-leds; | ||
| 61 | }; | ||
