<Comment>/*</Comment><br/>
<Comment> * DTS file test</Comment><br/>
<Comment> *</Comment><br/>
<Comment> * </Comment><SPDX Tag>SPDX-FileCopyrightText:</SPDX Tag><Comment> 2025 Artur Weber <knuxify@gmail.com></Comment><br/>
<Comment> *</Comment><br/>
<Comment> * </Comment><SPDX Tag>SPDX-License-Identifier:</SPDX Tag><SPDX Value> </SPDX Value><SPDX License>MIT</SPDX License><br/>
<Comment> */</Comment><br/>
<Normal Text></Normal Text><br/>
<Tag>/dts-v1/</Tag><Symbol>;</Symbol><br/>
<Normal Text></Normal Text><br/>
<Preprocessor>#include <gpio.h></Preprocessor><br/>
<Preprocessor>#include "test.dtsi"</Preprocessor><br/>
<Normal Text></Normal Text><br/>
<Comment>// </Comment><Alert Level 2>TODO</Alert Level 2><Comment> comment </Comment><Alert Level 2>FIXME</Alert Level 2><Comment> comment</Comment><br/>
<Normal Text></Normal Text><br/>
<Tag>/delete-node/</Tag><Normal Text> </Normal Text><Reference>&bad_node</Reference><Symbol>;</Symbol><br/>
<Normal Text></Normal Text><br/>
<NodeName>/ </NodeName><NodeBracket>{</NodeBracket><br/>
<Normal Text>	</Normal Text><Property>#address-cells </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><Integer>1</Integer><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text>	</Normal Text><Property>#size-cells </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><Integer>1</Integer><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text></Normal Text><br/>
<Normal Text>	</Normal Text><Property>compatible </Property><Assignment>=</Assignment><Normal Text> </Normal Text><String>"foo,bar"</String><Normal Text>, </Normal Text><String>"baz,quox"</String><Symbol>;</Symbol><br/>
<Normal Text></Normal Text><br/>
<Normal Text>	</Normal Text><NodeName>memory</NodeName><NodeNameAddress>@80000000</NodeNameAddress><NodeName> </NodeName><NodeBracket>{</NodeBracket><Normal Text> </Normal Text><Property>reg </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><HexInteger>0x80000000</HexInteger><Normal Text> </Normal Text><HexInteger>0x10000000</HexInteger><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><Normal Text> </Normal Text><NodeBracket>}</NodeBracket><Symbol>;</Symbol><br/>
<Normal Text></Normal Text><br/>
<Normal Text>	</Normal Text><NodeName>soc </NodeName><NodeBracket>{</NodeBracket><br/>
<Normal Text>		</Normal Text><NodeLabel>i2c1:</NodeLabel><NodeName> i2c</NodeName><NodeNameAddress>@4000</NodeNameAddress><NodeName> </NodeName><NodeBracket>{</NodeBracket><br/>
<Normal Text>			</Normal Text><Property>compatible </Property><Assignment>=</Assignment><Normal Text> </Normal Text><String>"foo,i2c-controller"</String><Symbol>;</Symbol><br/>
<Normal Text>			</Normal Text><Property>reg </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><HexInteger>0x00004000</HexInteger><Normal Text> </Normal Text><HexInteger>0x1c0</HexInteger><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text>			</Normal Text><Property>foo,int-property </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><Integer>32</Integer><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><Normal Text> </Normal Text><Comment>// Side comment</Comment><br/>
<Normal Text>			</Normal Text><Property>foo,boolean</Property><Symbol>;</Symbol><br/>
<Normal Text></Normal Text><br/>
<Normal Text>			</Normal Text><Property>#address-cells </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><Integer>1</Integer><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text>			</Normal Text><Property>#size-cells </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><Integer>0</Integer><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text>		</Normal Text><NodeBracket>}</NodeBracket><Symbol>;</Symbol><br/>
<Normal Text></Normal Text><br/>
<Normal Text>		</Normal Text><NodeLabel>pwm:</NodeLabel><NodeName> pwm</NodeName><NodeNameAddress>@6c00</NodeNameAddress><NodeName> </NodeName><NodeBracket>{</NodeBracket><br/>
<Normal Text>			</Normal Text><Property>reg </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><HexInteger>0x00006c00</HexInteger><Normal Text> </Normal Text><HexInteger>0x8a</HexInteger><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text>		</Normal Text><NodeBracket>}</NodeBracket><Symbol>;</Symbol><br/>
<Normal Text></Normal Text><br/>
<Normal Text>		</Normal Text><NodeLabel>gpio:</NodeLabel><NodeName> gpio</NodeName><NodeNameAddress>@7000</NodeNameAddress><NodeName> </NodeName><NodeBracket>{</NodeBracket><br/>
<Normal Text>			</Normal Text><Property>reg </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><HexInteger>0x00007000</HexInteger><Normal Text> </Normal Text><HexInteger>0x200</HexInteger><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text>			</Normal Text><Property>gpio-controller</Property><Symbol>;</Symbol><br/>
<Normal Text>			</Normal Text><Property>#gpio-cells </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><Integer>2</Integer><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text>		</Normal Text><NodeBracket>}</NodeBracket><Symbol>;</Symbol><br/>
<Normal Text>	</Normal Text><NodeBracket>}</NodeBracket><Symbol>;</Symbol><br/>
<NodeBracket>}</NodeBracket><Symbol>;</Symbol><br/>
<Normal Text></Normal Text><br/>
<Reference>&i2c1</Reference><Normal Text> </Normal Text><NodeBracket>{</NodeBracket><br/>
<Normal Text>	</Normal Text><NodeName>sensor</NodeName><NodeNameAddress>@10</NodeNameAddress><NodeName> </NodeName><NodeBracket>{</NodeBracket><br/>
<Normal Text>		</Normal Text><Property>compatible </Property><Assignment>=</Assignment><Normal Text> </Normal Text><String>"baz,sensor"</String><Symbol>;</Symbol><br/>
<Normal Text>		</Normal Text><Property>reg </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><HexInteger>0x10</HexInteger><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text>		</Normal Text><Property>gpios </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><Reference>&gpio</Reference><Normal Text> </Normal Text><Integer>5</Integer><Normal Text> </Normal Text><Constant>GPIO_ACTIVE_LOW</Constant><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text>		</Normal Text><Property>foo,u8-property </Property><Assignment>=</Assignment><Normal Text> </Normal Text><Tag>/bits/</Tag><Normal Text> </Normal Text><Integer>8</Integer><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><HexInteger>0x1</HexInteger><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text>		</Normal Text><Property>foo,ref-property </Property><Assignment>=</Assignment><Normal Text> </Normal Text><ValueBrackets><</ValueBrackets><Reference>&pwm</Reference><ValueBrackets>></ValueBrackets><Symbol>;</Symbol><br/>
<Normal Text>		</Normal Text><Property>foo,prop-with-macro </Property><Assignment>=</Assignment><Normal Text> </Normal Text><String>"a"</String><Normal Text>, </Normal Text><HexInteger>0x00</HexInteger><Normal Text>, </Normal Text><Constant>MY_MACRO(</Constant><HexInteger>0x5a</HexInteger><Normal Text>, </Normal Text><Integer>2</Integer><Normal Text>, </Normal Text><String>"test"</String><Constant>)</Constant><Symbol>;</Symbol><br/>
<Normal Text></Normal Text><br/>
<Normal Text>		</Normal Text><NodeName>named-subnode </NodeName><NodeBracket>{</NodeBracket><br/>
<Normal Text>			</Normal Text><Property>foo,str-property </Property><Assignment>=</Assignment><Normal Text> </Normal Text><String>"test"</String><Symbol>;</Symbol><br/>
<Normal Text>			</Normal Text><Property>foo,multiline </Property><Assignment>=</Assignment><Normal Text> </Normal Text><String>"a"</String><Normal Text>, </Normal Text><String>"b"</String><Normal Text>,</Normal Text><br/>
<Normal Text>					</Normal Text><String>"c"</String><Normal Text>, </Normal Text><String>"d"</String><Symbol>;</Symbol><br/>
<Normal Text>		</Normal Text><NodeBracket>}</NodeBracket><Symbol>;</Symbol><br/>
<Normal Text></Normal Text><br/>
<Normal Text>        </Normal Text><NodeLabel>label_A:</NodeLabel><NodeName> </NodeName><NodeLabel>label_B:</NodeLabel><NodeName> multiply-labeled-node</NodeName><NodeNameAddress>@0</NodeNameAddress><NodeName> </NodeName><NodeBracket>{</NodeBracket><br/>
<Normal Text>            </Normal Text><Property>compatible </Property><Assignment>=</Assignment><Normal Text> </Normal Text><String>"foo,bar"</String><Symbol>;</Symbol><br/>
<Normal Text>        </Normal Text><NodeBracket>}</NodeBracket><Symbol>;</Symbol><br/>
<Normal Text>	</Normal Text><NodeBracket>}</NodeBracket><Symbol>;</Symbol><br/>
<NodeBracket>}</NodeBracket><Symbol>;</Symbol><br/>
