model = "OCEDO Raccoon";
compatible = "ocedo,raccoon", "qca,ar9344";
+ chosen {
+ bootargs = "console=ttyS0,115200n8";
+ };
+
aliases {
- led-status = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
leds {
wlan2g {
label = "raccoon:yellow:wlan24";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- default-state = "off";
linux,default-trigger = "phy0tpt";
};
- system: system {
+ led_system: system {
label = "raccoon:blue:sys";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
wlan5g {
label = "raccoon:red:wlan5";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
- default-state = "off";
linux,default-trigger = "phy1tpt";
};
};
keys {
- compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
- poll-interval = <20>;
+ compatible = "gpio-keys";
reset {
linux,code = <KEY_RESTART>;
};
&spi {
- num-cs = <1>;
-
status = "okay";
+ num-cs = <1>;
+
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
};
partition@50000 {
+ compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x740000>;
};
&pcie {
status = "okay";
- ath9k: wifi@168c,0030 {
+ ath9k: wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
mtd-mac-address = <&art 0xc>;
phy0: ethernet-phy@0 {
reg = <0>;
- phy-mode = "rgmii";
};
};
ð0 {
status = "okay";
- /* default for ar934x, except for 1000M */
- pll-data = <0x06000000 0x00000101 0x00001616>;
+ pll-data = <0x06000000 0x00000101 0x00001313>;
mtd-mac-address = <&art 0x0>;
- phy-mode = "rgmii";
+ phy-mode = "rgmii-id";
phy-handle = <&phy0>;
};