summaryrefslogtreecommitdiff
path: root/tests/lexers/devicetree
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lexers/devicetree')
-rw-r--r--tests/lexers/devicetree/example.txt1376
1 files changed, 1376 insertions, 0 deletions
diff --git a/tests/lexers/devicetree/example.txt b/tests/lexers/devicetree/example.txt
new file mode 100644
index 00000000..ec2e45cb
--- /dev/null
+++ b/tests/lexers/devicetree/example.txt
@@ -0,0 +1,1376 @@
+---input---
+// Devicetree (https://www.devicetree.org/) example file,
+// Adapted from: https://github.com/torvalds/linux/blob/575966e080270b7574175da35f7f7dd5ecd89ff4/arch/arm/boot/dts/imx6q-dhcom-som.dtsi
+
+// SPDX-License-Identifier: (GPL-2.0+)
+/*
+ * Copyright (C) 2015 DH electronics GmbH
+ * Copyright (C) 2018 Marek Vasut <marex@denx.de>
+ */
+
+/dts-v1/;
+
+#include "imx6q.dtsi"
+#include <dt-bindings/pwm/pwm.h>
+/include/ "tps65217.dtsi"
+
+/ {
+ aliases {
+ mmc0 = &usdhc2;
+ mmc1 = &usdhc3;
+ mmc2 = &usdhc4;
+ mmc3 = &usdhc1;
+ };
+
+ memory@10000000 {
+ device_type = "memory";
+ reg = <0x10000000 0x40000000>;
+ };
+
+ /delete-property/ uart;
+
+ reg_usb_otg_vbus: regulator-usb-otg-vbus {
+ compatible = "regulator-fixed";
+ regulator-name = "usb_otg_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ };
+};
+
+&can1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_flexcan1>;
+ status = "okay";
+};
+
+&ecspi1 {
+ cs-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>, <&gpio4 11 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_ecspi1>;
+ status = "okay";
+
+ flash@0 { /* S25FL116K */
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "jedec,spi-nor";
+ spi-max-frequency = <50000000>;
+ reg = <0>;
+ m25p,fast-read;
+ };
+};
+
+&fec {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_enet_100M>;
+ phy-mode = "rmii";
+ phy-handle = <&ethphy0>;
+ status = "okay";
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethphy0: ethernet-phy@0 { /* SMSC LAN8710Ai */
+ reg = <0>;
+ max-speed = <100>;
+ reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
+ reset-delay-us = <1000>;
+ reset-post-delay-us = <1000>;
+ };
+ };
+};
+
+&i2c3 {
+ clock-frequency = <100000>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c3>;
+ status = "okay";
+
+ ltc3676: pmic@3c {
+ compatible = "lltc,ltc3676";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pmic_hw300>;
+ reg = <0x3c>;
+ interrupt-parent = <&gpio5>;
+ interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
+
+ regulators {
+ sw1_reg: sw1 {
+ regulator-min-microvolt = <787500>;
+ regulator-max-microvolt = <1527272>;
+ lltc,fb-voltage-divider = <100000 110000>;
+ regulator-suspend-mem-microvolt = <1040000>;
+ regulator-ramp-delay = <7000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+
+ };
+ };
+
+ touchscreen@49 { /* TSC2004 */
+ compatible = "ti,tsc2004";
+ reg = <0x49>;
+ vio-supply = <&reg_3p3v>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_tsc2004_hw300>;
+ interrupts-extended = <&gpio4 14 IRQ_TYPE_EDGE_FALLING>;
+ status = "disabled";
+ };
+
+};
+
+&iomuxc {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hog_base>;
+
+ pinctrl_hog_base: hog-base-grp {
+ fsl,pins = <
+ MX6QDL_PAD_EIM_A19__GPIO2_IO19 0x120b0
+ MX6QDL_PAD_EIM_A23__GPIO6_IO06 0x120b0
+ MX6QDL_PAD_EIM_A22__GPIO2_IO16 0x120b0
+ MX6QDL_PAD_EIM_A16__GPIO2_IO22 0x120b0
+ MX6QDL_PAD_EIM_A17__GPIO2_IO21 0x120b0
+ >;
+ };
+
+ pinctrl_enet_100M: enet-100M-grp {
+ fsl,pins = <
+ MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
+ MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
+ MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN 0x1b0b0
+ MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER 0x1b0b0
+ MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0 0x1b0b0
+ MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1 0x1b0b0
+ MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0
+ MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0 0x1b0b0
+ MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1 0x1b0b0
+ MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
+ MX6QDL_PAD_EIM_WAIT__GPIO5_IO00 0x000b0
+ MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x000b1
+ MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x120b0
+ >;
+ };
+
+};
+
+&usdhc4 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usdhc4>;
+ non-removable;
+ bus-width = <8>;
+ no-1-8-v;
+ keep-power-in-suspend;
+ status = "okay";
+};
+
+---tokens---
+'// Devicetree (https://www.devicetree.org/) example file,\n' Comment.Single
+
+'// Adapted from: https://github.com/torvalds/linux/blob/575966e080270b7574175da35f7f7dd5ecd89ff4/arch/arm/boot/dts/imx6q-dhcom-som.dtsi\n' Comment.Single
+
+'\n' Text
+
+'// SPDX-License-Identifier: (GPL-2.0+)\n' Comment.Single
+
+'/*\n * Copyright (C) 2015 DH electronics GmbH\n * Copyright (C) 2018 Marek Vasut <marex@denx.de>\n */' Comment.Multiline
+'\n' Text
+
+'\n' Text
+
+'/dts-v1/' Comment.Preproc
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'#include' Comment.Preproc
+' ' Comment.Multiline
+'"imx6q.dtsi"' Comment.PreprocFile
+'\n' Text
+
+'#include' Comment.Preproc
+' ' Comment.Multiline
+'<dt-bindings/pwm/pwm.h>' Comment.PreprocFile
+'\n' Text
+
+'/include/' Comment.Preproc
+' ' Comment.Multiline
+'"tps65217.dtsi"' Comment.PreprocFile
+'\n' Text
+
+'\n' Text
+
+'/' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t' Text
+'aliases' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t\t' Text
+'mmc0' Name
+' ' Text
+'=' Operator
+' ' Text
+'&' Operator
+'usdhc2' Name
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'mmc1' Name
+' ' Text
+'=' Operator
+' ' Text
+'&' Operator
+'usdhc3' Name
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'mmc2' Name
+' ' Text
+'=' Operator
+' ' Text
+'&' Operator
+'usdhc4' Name
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'mmc3' Name
+' ' Text
+'=' Operator
+' ' Text
+'&' Operator
+'usdhc1' Name
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'\t' Text
+'memory' Name.Function
+'@' Operator
+'10000000' Literal.Number.Integer
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t\t' Text
+'device_type' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'memory' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'reg' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'0x10000000' Literal.Number.Hex
+' ' Text
+'0x40000000' Literal.Number.Hex
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+' ' Text
+'/delete-property/' Comment.Preproc
+' ' Comment.Multiline
+'uart' Comment.Preproc
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'\t' Text
+'reg_usb_otg_vbus' Name.Label
+':' Punctuation
+' ' Text
+'regulator-usb-otg-vbus' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t\t' Text
+'compatible' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'regulator-fixed' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'regulator-name' Name
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'usb_otg_vbus' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'regulator-min-microvolt' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'5000000' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'regulator-max-microvolt' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'5000000' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'&' Operator
+'can1' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-names' Name
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'default' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-0' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'pinctrl_flexcan1' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'status' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'okay' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'&' Operator
+'ecspi1' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t' Text
+'cs-gpios' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'gpio2' Name.Attribute
+' ' Text
+'30' Literal.Number.Integer
+' ' Text
+'GPIO_ACTIVE_HIGH' Name.Attribute
+'>' Operator
+',' Punctuation
+' ' Text
+'<' Operator
+'&' Operator
+'gpio4' Name.Attribute
+' ' Text
+'11' Literal.Number.Integer
+' ' Text
+'GPIO_ACTIVE_HIGH' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-names' Name
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'default' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-0' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'pinctrl_ecspi1' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'status' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'okay' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'\t' Text
+'flash' Name.Function
+'@' Operator
+'0' Literal.Number.Integer
+' ' Comment.Multiline
+'{' Punctuation
+'\t' Text
+'/* S25FL116K */' Comment.Multiline
+'\n' Text
+
+'\t\t' Text
+'#address-cells' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'1' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'#size-cells' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'1' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'compatible' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'jedec,spi-nor' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'spi-max-frequency' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'50000000' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'reg' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'0' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'m25p' Name
+',' Punctuation
+'fast-read' Name
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'&' Operator
+'fec' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-names' Name
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'default' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-0' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'pinctrl_enet_100M' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'phy-mode' Name
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'rmii' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'phy-handle' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'ethphy0' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'status' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'okay' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'\t' Text
+'mdio' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t\t' Text
+'#address-cells' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'1' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'#size-cells' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'0' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'\t\t' Text
+'ethphy0' Name.Label
+':' Punctuation
+' ' Text
+'ethernet-phy' Name.Function
+'@' Operator
+'0' Literal.Number.Integer
+' ' Comment.Multiline
+'{' Punctuation
+'\t' Text
+'/* SMSC LAN8710Ai */' Comment.Multiline
+'\n' Text
+
+'\t\t\t' Text
+'reg' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'0' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t\t' Text
+'max-speed' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'100' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t\t' Text
+'reset-gpios' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'gpio5' Name.Attribute
+' ' Text
+'0' Literal.Number.Integer
+' ' Text
+'GPIO_ACTIVE_LOW' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t\t' Text
+'reset-delay-us' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'1000' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t\t' Text
+'reset-post-delay-us' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'1000' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'&' Operator
+'i2c3' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t' Text
+'clock-frequency' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'100000' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-names' Name
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'default' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-0' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'pinctrl_i2c3' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'status' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'okay' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'\t' Text
+'ltc3676' Name.Label
+':' Punctuation
+' ' Text
+'pmic' Name.Function
+'@' Operator
+'3c' Literal.Number.Integer
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t\t' Text
+'compatible' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'lltc,ltc3676' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'pinctrl-names' Name
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'default' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'pinctrl-0' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'pinctrl_pmic_hw300' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'reg' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'0x3c' Literal.Number.Hex
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'interrupt-parent' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'gpio5' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'interrupts' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'2' Literal.Number.Integer
+' ' Text
+'IRQ_TYPE_EDGE_FALLING' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'\t\t' Text
+'regulators' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t\t\t' Text
+'sw1_reg' Name.Label
+':' Punctuation
+' ' Text
+'sw1' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t\t\t\t' Text
+'regulator-min-microvolt' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'787500' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t\t\t' Text
+'regulator-max-microvolt' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'1527272' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t\t\t' Text
+'lltc' Name
+',' Punctuation
+'fb-voltage-divider' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'100000' Literal.Number.Integer
+' ' Text
+'110000' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t\t\t' Text
+'regulator-suspend-mem-microvolt' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'1040000' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t\t\t' Text
+'regulator-ramp-delay' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'7000' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t\t\t' Text
+'regulator-boot-on' Name
+';' Punctuation
+'\n' Text
+
+'\t\t\t\t' Text
+'regulator-always-on' Name
+';' Punctuation
+'\n' Text
+
+'\t\t\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'\t\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'\t' Text
+'touchscreen' Name.Function
+'@' Operator
+'49' Literal.Number.Integer
+' ' Comment.Multiline
+'{' Punctuation
+'\t' Text
+'/* TSC2004 */' Comment.Multiline
+'\n' Text
+
+'\t\t' Text
+'compatible' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'ti,tsc2004' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'reg' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'0x49' Literal.Number.Hex
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'vio-supply' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'reg_3p3v' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'pinctrl-names' Name
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'default' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'pinctrl-0' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'pinctrl_tsc2004_hw300' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'interrupts-extended' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'gpio4' Name.Attribute
+' ' Text
+'14' Literal.Number.Integer
+' ' Text
+'IRQ_TYPE_EDGE_FALLING' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t\t' Text
+'status' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'disabled' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'&' Operator
+'iomuxc' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-names' Name
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'default' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-0' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'pinctrl_hog_base' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'\t' Text
+'pinctrl_hog_base' Name.Label
+':' Punctuation
+' ' Text
+'hog-base-grp' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t\t' Text
+'fsl' Name
+',' Punctuation
+'pins' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_EIM_A19__GPIO2_IO19' Name.Attribute
+'\t\t' Text
+'0x120b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_EIM_A23__GPIO6_IO06' Name.Attribute
+'\t\t' Text
+'0x120b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_EIM_A22__GPIO2_IO16' Name.Attribute
+'\t\t' Text
+'0x120b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_EIM_A16__GPIO2_IO22' Name.Attribute
+'\t\t' Text
+'0x120b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_EIM_A17__GPIO2_IO21' Name.Attribute
+'\t\t' Text
+'0x120b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t' Text
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'\t' Text
+'pinctrl_enet_100M' Name.Label
+':' Punctuation
+' ' Text
+'enet-100M-grp' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t\t' Text
+'fsl' Name
+',' Punctuation
+'pins' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_ENET_MDIO__ENET_MDIO' Name.Attribute
+'\t\t' Text
+'0x1b0b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_ENET_MDC__ENET_MDC' Name.Attribute
+'\t\t' Text
+'0x1b0b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN' Name.Attribute
+'\t' Text
+'0x1b0b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER' Name.Attribute
+'\t' Text
+'0x1b0b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0' Name.Attribute
+'\t' Text
+'0x1b0b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1' Name.Attribute
+'\t' Text
+'0x1b0b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN' Name.Attribute
+'\t' Text
+'0x1b0b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0' Name.Attribute
+'\t' Text
+'0x1b0b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1' Name.Attribute
+'\t' Text
+'0x1b0b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_GPIO_16__ENET_REF_CLK' Name.Attribute
+'\t' Text
+'0x4001b0a8' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_EIM_WAIT__GPIO5_IO00' Name.Attribute
+'\t\t' Text
+'0x000b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_KEY_ROW4__GPIO4_IO15' Name.Attribute
+'\t\t' Text
+'0x000b1' Literal.Number.Hex
+'\n' Text
+
+'\t\t\t' Text
+'MX6QDL_PAD_GPIO_7__GPIO1_IO07' Name.Attribute
+'\t\t' Text
+'0x120b0' Literal.Number.Hex
+'\n' Text
+
+'\t\t' Text
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'}' Punctuation
+';' Punctuation
+'\n' Text
+
+'\n' Text
+
+'&' Operator
+'usdhc4' Name.Function
+' ' Comment.Multiline
+'{' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-names' Name
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'default' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'pinctrl-0' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'&' Operator
+'pinctrl_usdhc4' Name.Attribute
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'non-removable' Name
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'bus-width' Name
+' ' Text
+'=' Operator
+' ' Text
+'<' Operator
+'8' Literal.Number.Integer
+'>' Operator
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'no-1-8-v' Name
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'keep-power-in-suspend' Name
+';' Punctuation
+'\n' Text
+
+'\t' Text
+'status' Keyword.Reserved
+' ' Text
+'=' Operator
+' ' Text
+'"' Literal.String
+'okay' Literal.String
+'"' Literal.String
+';' Punctuation
+'\n' Text
+
+'}' Punctuation
+';' Punctuation
+'\n' Text