forked from Minki/linux
c06c7ca77c
Now that the GPIO controllers have been converted over to DT, described the gpio-keys in DT. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Simon Baatz <gmbnomis@gmail.com>
66 lines
1.1 KiB
Plaintext
66 lines
1.1 KiB
Plaintext
/dts-v1/;
|
|
|
|
/include/ "kirkwood.dtsi"
|
|
|
|
/ {
|
|
model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
|
|
compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x10000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
};
|
|
|
|
ocp@f1000000 {
|
|
serial@12000 {
|
|
clock-frequency = <200000000>;
|
|
status = "okay";
|
|
};
|
|
|
|
sata@80000 {
|
|
status = "okay";
|
|
nr-ports = <2>;
|
|
};
|
|
|
|
nand@3000000 {
|
|
status = "okay";
|
|
|
|
partition@0 {
|
|
label = "u-boot";
|
|
reg = <0x0000000 0x100000>;
|
|
};
|
|
|
|
partition@100000 {
|
|
label = "uImage";
|
|
reg = <0x0100000 0x600000>;
|
|
};
|
|
|
|
partition@700000 {
|
|
label = "root";
|
|
reg = <0x0700000 0xf900000>;
|
|
};
|
|
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
button@1 {
|
|
label = "USB Copy";
|
|
linux,code = <133>;
|
|
gpios = <&gpio0 29 1>;
|
|
};
|
|
button@2 {
|
|
label = "Reset";
|
|
linux,code = <0x198>;
|
|
gpios = <&gpio0 28 1>;
|
|
};
|
|
};
|
|
};
|