vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

dts.ok (744B)


      1 /* vim: set ft=dts noet sw=8 : */
      2 
      3 /* START_INDENT */
      4 /dts-v1/;
      5 #include <dt-bindings/pinctrl/pinctrl-imx6q.h>
      6 #include "imx6qdl.dtsi"
      7 #include "imx6qdl-someboard.dtsi"
      8 
      9 /delete-node/ &{/memory@10000000};
     10 
     11 / {
     12 	compatible = "some,board";
     13 	/delete-node/ memory;
     14 
     15 	chosen {
     16 		environment = &{usdhc4/partitions/partition@0};
     17 	};
     18 }
     19 
     20 &iomuxc {
     21 	pinctrl-names = "default";
     22 	pinctrl-0 = <&pinctrl_hog>;
     23 
     24 	pinctrl_gpiohog: gpiohoggrp {
     25 		fsl,pins = <
     26 			MX6QDL_PAD_GPIO_9__GPIO1_IO09           0x130b0
     27 			MX6QDL_PAD_GPIO_17__GPIO7_IO12          0x130b0
     28 		>;
     29 	};
     30 }
     31 
     32 &usdhc4 {
     33 	partitions {
     34 		compatible = "fixed-partitions";
     35 
     36 		partition@0 {
     37 			label = "environment";
     38 			reg = <0x0 0xe0000>;
     39 		};
     40 	};
     41 };
     42 
     43 &{/aliases} {
     44 	usb0 = &usb;
     45 };
     46 /* END_INDENT */