1root { 2 platform { 3 pwm_config { 4 template pwm_device { 5 serviceName = ""; 6 match_attr = ""; 7 num = 0; 8 base = 0x12070000; 9 } 10 11 device_0x12070000 :: pwm_device { 12 match_attr = "hisilicon_hi35xx_pwm_0"; 13 } 14 15 device_0x12070020 :: pwm_device { 16 match_attr = "hisilicon_hi35xx_pwm_1"; 17 num = 1; 18 base = 0x12070020; 19 } 20 } 21 } 22} 23