|
|
Re: PATCH Add support for the Iomega IX2-200 Device Tree |
Hi Alan
...
> i did what you sujested and all commands worked except for the git
> sendmail part so i do not know if I should still be sending you the
> patch this way but here it is. i also defined the gpio keys in the dts
> file like you said the same as with the iconnect but the kernel keeps
> crashing with them defined in the dts is the support actualy there for
> the keys? or have i just defined them wrong?
...
> + sata@80000 {
> + compatible = "marvell,orion-sata";
> + reg = <0x80000 0x5000>;
> + interrupts = <21>;
> + status = "okay";
> + nr-ports = <2>;
> + };
You should not need all the values above. All you need is what is
different to the defaults in kirkwood.dtsi. So i _think_ you need:
sata@80000 {
status = "okay";
nr-ports = <2>;
};
> + gpio_keys {
> + compatible = "gpio-keys";
> + #address-cells = <1>;
> + #size-cells = <0>;
> + button@1 {
> + label = "OTB Button";
> + linux,code = <0x00>;
0x00 seems odd.
>From <linux/input.h>
#define KEY_RESERVED 0
> + gpios = <&gpio1 4 1>;
> + debounce-interval = <100>;
> + };
> + button@2 {
> + label = "Reset";
> + linux,code = <0x01>;
0x01 seems odd.
#define KEY_ESC 1
> + gpios = <&gpio0 12 1>;
> + debounce-interval = <100>;
> + };
> + button@3 {
> + label = "Power";
> + linux,code = <0x028>;
#define KEY_APOSTROPHE 40
???
Andrew
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[Linux ARM (vger)] [Linux ARM MSM] [Linux Omap] [Linux Arm] [Linux Tegra] [Fedora ARM] [eCos] [Linux Fastboot] [Gcc Help] [Git] [DCCP] [IETF Announce] [Security] [PDAs] [Linux] [Linux MIPS] [Yosemite Campsites] [Photos]
![]() |
![]() |