Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
- /dts-v1/;
- /plugin/;
- / {
- compatible = "ti,beaglebone", "ti,beaglebone-black";
- part-number = "pwm_P8_13";
- version = "00A0";
- fragment@0 {
- target = <&am33xx_pinmux>;
- __overlay__ {
- pwm_P8_13: pinmux_pwm_P8_13 {
- pinctrl-single,pins = <
- 0x024 0x4 /* gpmc_ad9 = ehrpwm2B | MODE 4 */
- >;
- };
- };
- };
- fragment@1 {
- target = <&ehrpwm2>;
- __overlay__ {
- status = "okay";
- };
- };
- fragment@2 {
- target = <&ocp>;
- __overlay__ {
- #address-cells = <1>;
- #size-cells = <0>;
- P8_13 {
- compatible = "pwm_test";
- pinctrl-names = "default";
- pinctrl-0 = <&pwm_P8_13>;
- pwms = <&ehrpwm2 1 500000 1>;
- pwm-names = "P8_13";
- enabled = <1>;
- duty = <0>;
- status = "okay";
- };
- };
- };
- };
- produces:
- [ 3798.409849] ehrpwm 48304200.ehrpwm: unable to select pin group
- [ 3798.410027] Unable to handle kernel NULL pointer dereference at virtual address 00000008
- [ 3798.418474] pgd = d7854000
- [ 3798.421296] [00000008] *pgd=97aa6831, *pte=00000000, *ppte=00000000
- [ 3798.427852] Internal error: Oops: 17 [#1] SMP THUMB2
- [ 3798.433027] Modules linked in: pwm_test bone_iio_helper fuse ip_tables x_tables g_multi libcomposite rfcomm ircomm_tty ircomm irda ipv6 hidp bluetooth rfkill autofs4
- [ 3798.448537] CPU: 0 Not tainted (3.8.5 #1)
- [ 3798.453102] PC is at __mutex_lock_slowpath+0x40/0x204
- [ 3798.458374] LR is at mutex_lock+0xf/0x20
- [ 3798.462469] pc : [<c036d148>] lr : [<c036d31b>] psr: 000001b3
- [ 3798.462469] sp : d7847d60 ip : 00000000 fp : df652884
- [ 3798.474447] r10: 00000000 r9 : 00000000 r8 : df652884
- [ 3798.479900] r7 : dcdb5ac0 r6 : 00000113 r5 : 00000008 r4 : 00000004
- [ 3798.486705] r3 : 00000000 r2 : 00000000 r1 : 00000100 r0 : 00000004
- [ 3798.493523] Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA Thumb Segment user
- [ 3798.501237] Control: 50c5387d Table: 97854019 DAC: 00000015
- [ 3798.507231] Process sh (pid: 776, stack limit = 0xd7846240)
- [ 3798.513037] Stack: (0xd7847d60 to 0xd7848000)
- [ 3798.517586] 7d60: 00000004 00000100 d7847d88 d7846000 00000004 00000004 00000100 df7a7400
- [ 3798.526110] 7d80: df652884 00000000 00000000 c036d31b 00000000 c01cfb6b df7a7410 df66f750
- [ 3798.534635] 7da0: 00000000 c01cf7ff c01cf6e9 df7a7410 d7847de0 c065b460 c0217f79 c02188a5
- [ 3798.543169] 7dc0: c0218899 c0217e53 c0217f79 00000000 d7847de0 df7a7410 c0217f79 c0216f27
- [ 3798.551696] 7de0: df044498 df2e2f04 df7a7410 df7a7410 00000000 df7a7410 df7a7444 c0217dbb
- [ 3798.560237] 7e00: 00000001 c0662ee8 80000000 df7a7410 00000000 c02177c1 df7a7410 00000000
- [ 3798.568777] 7e20: df7a7418 c0216985 00000200 c0647390 00000000 c003114b 00000000 df7a7400
- [ 3798.577308] 7e40: 0000001c ffffffff 00000000 df7a7400 00000000 df652884 df652854 00000003
- [ 3798.585850] 7e60: df652884 c02c3651 00000000 d7844400 00000000 00000000 00000001 c02c42c3
- [ 3798.594378] 7e80: d7844400 df65284c 00000000 00000001 df652800 c02c47bd d7844900 df65284c
- [ 3798.602906] 7ea0: d7847e8c dcc76010 00000000 df10d410 df32b054 df32b04c dcc76268 c0b07440
- [ 3798.611443] 7ec0: df32b010 c02263ed dcc76231 dcc76252 10000000 d7844480 c0b07ec8 00000000
- [ 3798.619969] 7ee0: d7844480 dcc76010 00000000 df10d410 df59e000 c0b07440 df32b010 c0226e8f
- [ 3798.628499] 7f00: c067f300 00000000 c0f83d90 c0f83d5c 22222222 c0226c85 d78a9ec0 d78a9ed8
- [ 3798.637035] 7f20: d7847f80 0000000a df10d418 c03b74a0 00000000 c0215aab df336b48 c00e2819
- [ 3798.645567] 7f40: dcff5440 000d6408 0000000a d7847f80 000d6408 0000000a 00000000 c00a7497
- [ 3798.654103] 7f60: dcff5440 000d6408 00000000 00000000 dcff5440 00000000 000d6408 c00a76a3
- [ 3798.662630] 7f80: 00000000 00000000 0000000a 0000000a 000d6408 b6f5ca80 00000004 c000c244
- [ 3798.671150] 7fa0: d7846000 c000c0a1 0000000a 000d6408 00000001 000d6408 0000000a 00000000
- [ 3798.679672] 7fc0: 0000000a 000d6408 b6f5ca80 00000004 0000000a 0000000a 000d6408 00000000
- [ 3798.688202] 7fe0: 00000000 be8fe9b4 b6e98b2c b6eeb30c 600f0010 00000001 9fefe821 9fefec21
- [ 3798.696747] [<c036d148>] (__mutex_lock_slowpath+0x40/0x204) from [<c036d31b>] (mutex_lock+0xf/0x20)
- [ 3798.706200] [<c036d31b>] (mutex_lock+0xf/0x20) from [<c01cfb6b>] (pwmss_submodule_state_change+0x13/0x50)
- [ 3798.716183] [<c01cfb6b>] (pwmss_submodule_state_change+0x13/0x50) from [<c01cf7ff>] (ehrpwm_pwm_probe+0x117/0x190)
- [ 3798.726985] [<c01cf7ff>] (ehrpwm_pwm_probe+0x117/0x190) from [<c02188a5>] (platform_drv_probe+0xd/0xe)
- [ 3798.736709] [<c02188a5>] (platform_drv_probe+0xd/0xe) from [<c0217e53>] (driver_probe_device+0x67/0x144)
- [ 3798.746606] [<c0217e53>] (driver_probe_device+0x67/0x144) from [<c0216f27>] (bus_for_each_drv+0x27/0x4c)
- [ 3798.756520] [<c0216f27>] (bus_for_each_drv+0x27/0x4c) from [<c0217dbb>] (device_attach+0x3d/0x56)
- [ 3798.765783] [<c0217dbb>] (device_attach+0x3d/0x56) from [<c02177c1>] (bus_probe_device+0x19/0x60)
- [ 3798.775044] [<c02177c1>] (bus_probe_device+0x19/0x60) from [<c0216985>] (device_add+0x2a1/0x3b8)
- [ 3798.784228] [<c0216985>] (device_add+0x2a1/0x3b8) from [<c02c3651>] (of_platform_device_create_pdata+0x39/0x4c)
- [ 3798.794761] [<c02c3651>] (of_platform_device_create_pdata+0x39/0x4c) from [<c02c42c3>] (of_overlay_device_entry_change.isra.0+0x47/0xd8)
- [ 3798.807561] [<c02c42c3>] (of_overlay_device_entry_change.isra.0+0x47/0xd8) from [<c02c47bd>] (of_overlay+0x89/0x114)
- [ 3798.818556] [<c02c47bd>] (of_overlay+0x89/0x114) from [<c02263ed>] (bone_capemgr_load+0x1b3/0x2a2)
- [ 3798.827896] [<c02263ed>] (bone_capemgr_load+0x1b3/0x2a2) from [<c0226e8f>] (slots_store+0x20b/0x250)
- [ 3798.837432] [<c0226e8f>] (slots_store+0x20b/0x250) from [<c0215aab>] (dev_attr_store+0xb/0x12)
- [ 3798.846426] [<c0215aab>] (dev_attr_store+0xb/0x12) from [<c00e2819>] (sysfs_write_file+0x9d/0xd8)
- [ 3798.855699] [<c00e2819>] (sysfs_write_file+0x9d/0xd8) from [<c00a7497>] (vfs_write+0x63/0x104)
- [ 3798.864688] [<c00a7497>] (vfs_write+0x63/0x104) from [<c00a76a3>] (sys_write+0x27/0x44)
- [ 3798.873051] [<c00a76a3>] (sys_write+0x27/0x44) from [<c000c0a1>] (ret_fast_syscall+0x1/0x46)
- [ 3798.881858] Code: f3ef 8600 b672 1d25 (e855) 2f00
- [ 3798.886864] ---[ end trace e086f151c48f73bb ]---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement