예제: 디바이스 트리 노드

NXP i.MX SoC Family/Device Trees

Introduction to Device Trees - Example: Device tree node

6 Example: Device tree node 다음은 I2C 인터페이스에 두 개의 디바이스가 있는 I2C 컨트롤러의 예제 노드이다. i2c@3000 { #address-cells = ; #size-cells = ; cell-index = ; compatible = "fsl-i2c"; reg = ; interrupts = ; interrupt-parent = ; dfsrr; dtt@48 { compatible = "national,lm75"; reg = ; }; rtc@68 { compatible = "dallas,ds1337"; reg = ; }; }; 앞에서 설명한 구문을 사용하여, 이 예제 노드에 대해 다음과 같은 관찰을 할 수 있다: I2C 컨트롤러는 부모로부터 오프셋 0x3000에 있다. I2..

까마귀75
'예제: 디바이스 트리 노드' 태그의 글 목록