Home | History | Annotate | Download | only in dts
      1 // SPDX-License-Identifier: GPL-2.0+
      2 /*
      3  * Copyright (C) 2017 lvaro Fernndez Rojas <noltari (a] gmail.com>
      4  */
      5 
      6 /dts-v1/;
      7 
      8 #include "brcm,bcm6368.dtsi"
      9 
     10 / {
     11 	model = "Comtrend WAP-5813n";
     12 	compatible = "comtrend,wap-5813n", "brcm,bcm6368";
     13 
     14 	aliases {
     15 		serial0 = &uart0;
     16 	};
     17 
     18 	chosen {
     19 		stdout-path = "serial0:115200n8";
     20 	};
     21 
     22 	gpio-leds {
     23 		compatible = "gpio-leds";
     24 
     25 		inet_green {
     26 			label = "WAP-5813n:green:inet";
     27 			gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
     28 		};
     29 
     30 		power_green {
     31 			label = "WAP-5813n:green:power";
     32 			gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
     33 			default-state = "on";
     34 		};
     35 
     36 		wps_green {
     37 			label = "WAP-5813n:green:wps";
     38 			gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
     39 		};
     40 
     41 		power_red {
     42 			label = "WAP-5813n:red:power";
     43 			gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
     44 		};
     45 
     46 		inet_red {
     47 			label = "WAP-5813n:red:inet";
     48 			gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
     49 		};
     50 	};
     51 };
     52 
     53 &ehci {
     54 	status = "okay";
     55 };
     56 
     57 &gpio0 {
     58 	status = "okay";
     59 };
     60 
     61 &ohci {
     62 	status = "okay";
     63 };
     64 
     65 &pflash {
     66 	status = "okay";
     67 };
     68 
     69 &uart0 {
     70 	u-boot,dm-pre-reloc;
     71 	status = "okay";
     72 };
     73 
     74 &usbh {
     75 	status = "okay";
     76 };
     77